Posts

Showing posts with the label geckodriver

How to handle browser notification popup which is without any elements?

Image
Clash Royale CLAN TAG #URR8PPP How to handle browser notification popup which is without any elements? How to press the OK button as per the image. I can switch to this window. but it is not loaded till i click ok, so there is no any elements. Alert handle does't helped too. Autoit cannot detect this pop up message too. disable-notifications cant help too. Any ideas? Two screeshots is added. OK Firefox snapshot: Chrome Snapshot: p.companieGenreal.sActivities().click(); driver.switchTo().defaultContent(); String parent = driver.getWindowHandle(); p.companieGenreal.sAddNew().click(); p.companieGenreal.sAddJobOrder().click(); p.companieGenreal.sContract().click(); swithToChildWindow(parent); driver.switchTo().alert().accept(); Your code trials? – DebanjanB 1 hour ago I can switch to this window. How did yo...

Unable to run Python Selenium WebDriver automation script using Geckodriver 0.21.0 and Firefox 60.1.0esr (64-bit) for CentOS Linux redhat – 1.0

Image
Clash Royale CLAN TAG #URR8PPP Unable to run Python Selenium WebDriver automation script using Geckodriver 0.21.0 and Firefox 60.1.0esr (64-bit) for CentOS Linux redhat – 1.0 Its opening the Firefox browser but scripts are not able to enter required URL. Always it's throwing this error message: SessionNotCreatedException: Message: Tried to run command without establishing a connection This question is rather brief, and readers will likely need an Minimal, Complete, and Verifiable example to be able to help you. Would you be able to edit your question to show one? – halfer 4 mins ago By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie polic...