EX_CELL_DZ
New Member
- Joined
- Oct 8, 2022
- Messages
- 6
- Office Version
- 2021
- Platform
- Windows
Hi all. There is a website with a login form and I want to automate it with excel vba but every time I execute the code the website redirects directly to google and does not give me any chance and I think it is because of this code in its html
HTML:
<noscript><meta http-equiv="refresh" content="0; url=http://www.google.com/" /><noscript>
So can you help me solve this problem. Please
VBA Code:
Sub Amatti()
Dim GC As New WebDriver
GC.Start "chrome", ""
GC.Get "https://amatti.education.gov.dz/login"
GC.FindElementById("holder").WaitDisplayed
End Sub