NIPUL JARIWALA
Board Regular
- Joined
- Apr 22, 2016
- Messages
- 55
Hello everyone,
I am trying to get some data form a web which I need daily and I lost lot of my time in it.
So I am trying to write a code to make my job easy.
For that I need to log in to the website.
But I am facing difficulty to login.
Please help me
my vba code:
Sub web_data()
Dim CH As Selenium.ChromeDriver
Set CH = New Selenium.ChromeDriver
CH.Start
CH.Get "Login Template Title"
CH.FindElementById("58:2;a").SendKeys "id"
CH.FindElementById("71:2;a").SendKeys "passwod"
CH.FindElementsByClass("slds-button slds-button--brand loginButton uiButton--none uiButton").Click 'here I face error
End Sub
I got an error on last line of code
And here is HTML code of element:
Please help me to solve my problem
Thank you
I am trying to get some data form a web which I need daily and I lost lot of my time in it.
So I am trying to write a code to make my job easy.
For that I need to log in to the website.
But I am facing difficulty to login.
Please help me
my vba code:
Sub web_data()
Dim CH As Selenium.ChromeDriver
Set CH = New Selenium.ChromeDriver
CH.Start
CH.Get "Login Template Title"
CH.FindElementById("58:2;a").SendKeys "id"
CH.FindElementById("71:2;a").SendKeys "passwod"
CH.FindElementsByClass("slds-button slds-button--brand loginButton uiButton--none uiButton").Click 'here I face error
End Sub
I got an error on last line of code
And here is HTML code of element:
Please help me to solve my problem
Thank you