Set IE = CreateObject("Google chrome.Application")
Sub loginChrome() Dim IE As Object Set IE = CreateObject("Google chrome.Application") IE.Visible = True IE.Navigate "https://services.gst.gov.in/services/login" Do If IE.ReadyState = 4 Then IE.Visible = False Exit Do Else DoEvents End If Loop 'Wait for window to open! Application.Wait (Now + TimeValue("0:00:01")) IE.Visible = True 'Send logon information SendKeys "my username" SendKeys "{TAB}" SendKeys "my password" End Sub
Selenium Wrapper
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)