THEKINGSLG
New Member
- Joined
- Jan 14, 2022
- Messages
- 14
- Office Version
- 2019
- 2016
- 2013
- 2010
Hey!
I need to click on website button because the name change each month. Bafore the Click, apear a system message to say where i want to download the CSV in my PC.
Im trying to do the code and obtain the error 424 (object required) mark in yellow the FindElement(By.XPath row.
Sub ClickButton4()
Dim driver As New Selenium.ChromeDriver
With driver
driver.Get "https://trends.google.es/trends/explore?q=MATIC"
Application.Wait (Now + TimeValue("00:00:05"))
.FindElement(By.XPath("//i[@class='material-icons-extended gray']")).Click
End With
Set driver = Nothing
End sub
Some sugestions? When the system message appear i neew set something in my code to indicate whare i want to put the csv?
I need to click on website button because the name change each month. Bafore the Click, apear a system message to say where i want to download the CSV in my PC.
Im trying to do the code and obtain the error 424 (object required) mark in yellow the FindElement(By.XPath row.
Sub ClickButton4()
Dim driver As New Selenium.ChromeDriver
With driver
driver.Get "https://trends.google.es/trends/explore?q=MATIC"
Application.Wait (Now + TimeValue("00:00:05"))
.FindElement(By.XPath("//i[@class='material-icons-extended gray']")).Click
End With
Set driver = Nothing
End sub
Some sugestions? When the system message appear i neew set something in my code to indicate whare i want to put the csv?