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?
Get help with using AutoHotkey and its commands and hotkeys
2 posts • Page 1 of 1