Hello,
1-How I can prevent AHK / Selenium to bug / crash during the below that fail to find: driver.FindElementByXPath("//*[@id=""sku-1-175""]").click()
2-How I cann add an if statement like if the value exist in the text box or drop down box. IE: Let say I did the following: driver.FindElementByXPath("//div[@data-widget-cid=""widget-15""]/select").SendKeys("EXEMPLE"). How I can verify that the word Exemple is really in the textbox / dropdown list.
I have to put some sleep between codes because sometime page load and it look like some selection/sendkeys can bug or delays. Is there a way to prevent this or only inserting some sleep should prevent this?
Help with Selenium + AHK
Re: Help with Selenium + AHK
Take a look at using: Try
Who is online
Users browsing this forum: deets, Google [Bot], yabab33299 and 165 guests