Set chrome browser binary through chromedriver in Python
I used Selenium with Python Chrome webdriver. In my code I used:driver = webdriver.Chrome(executable_path = PATH_TO_WEBDRIVER) to point the webdriver to the webdriver executable. Is there a way to...
View ArticleHow to run all scripts in specific zoom size in chrome selenium?
The website isn't look same on mac and windows. So i'm looking for the capabilities/options for the chrome which set certain zoom size and all scripts get executed in same size.I'm aware of Firefox but...
View ArticleChrome browsing windows stays open even after session failed with...
I am using selenium 3.141.59 with chrome 79 and chromedriver 79. Randomly I am getting an exception from RemoteWebDriver.get(url); and that session removing from the selenium server. But the Chrome...
View Articleselenium.common.exceptions.SessionNotCreatedException: Message: Unable to...
I must have some versions here that don't match up since I can't get Selenium with Python to fire up a Firefox web browser. I'm using an older version of Firefox because other people in here have the...
View ArticleSelenium sometimes doesn't click checkbox sometimes
I have been trying to fix this error for several days now. I hope that I have not tried everything.I am new to selenium so am making a bot to auto-complete a trivia so I can understand this module and...
View ArticleHow to Handle "Authentication Required" Pop-up in selenium
Is it possible to handle "Authentication Required" Pop-up in selenium which having fields as "UserName" and "Password" using Alert.
View ArticleSelenium "selenium.common.exceptions.NoSuchElementException" when using Chrome
I'm trying to play QWOP using Selenium on Chrome but I keep getting the following error:selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element...
View ArticleHow to initiate multiple versions of Geckodriver through System.setProperty()
I don't know if I'm overseeing something, but is it possible to use multiple geckodriver versions in the same JVM?The problem is with System.setProperty("webdriver.gecko.driver", "path of the...
View ArticleWhat does double dash (--) implies in Selenium ChromeOptions
I am using selenium with java and I am using some chrome options with it. But I see different usages of chrome options in different sources. I mean some folks using double dash before the option and...
View ArticleTimed out receiving message from renderer: 0.100 log messages using...
We recently upgraded our test environment with ChromeDriver v80.0.3987.16 and Chrome v80.0.3987.87 (Official Build) (64-bit) and after the upgradation even the minimal program is producing a lot of...
View ArticleisSelected() , isDisplayed is not working for me in selenium,java for...
isSelected() , isDisplayed is not working for me in selenium,java for checkbox. Where xpath doesn't show if it is checked or unchecked.<input aria-label="Resi" checked="checked"...
View ArticleUsing Reusable Methods in Selenium Page Object Model
I was trying to use a reusable method in my framework. however, I am little confused about the new keyword in the last line. Without the new keyword, the return shows me an error.public Home_Page...
View ArticleDumping Iframe and Frame to log files
I am writing an automation with Java and Selenium. This automation needs to use IE (rather than Chrome). This uses popup windows, frames and iframes. On many of the windows, Inspect will not work. What...
View ArticleGitlab CI/CD : Pytest unrecognized arguments
I have the following .gitlab-ci.ymlimage: python:3.7 stages: - deploy deploy: stage: deploy script: - pip install selenium - pip install pytest - pip install webdriver-manager - pip install...
View ArticleScrapy - Selenium TypeError: 'NoneType' object is not iterable
I get the following error:start_requests = iter(self.spider.start_requests()) TypeError: 'NoneType' object is not iterable when I run:class CramoSpider(Spider): name = 'cramo' allowed_domains =...
View ArticleWhat is causing JBrowserDriver WebDriverException:...
I am trying to create a working implementation of JBrowserDriver in Windows 10 with JDK 8 and InteliJ 2017, but am encountering an exception that I am unable to resolve. Does anyone know why I might be...
View ArticleCreating a Chrome Profile in katalon Selenium
I have a script which works for Firefox. Now I have to change it to chrome and run the automation in chrome. Everything is working except the ChromeProfile. I tried to do something like this;import...
View ArticleHow to Automate web scrape using robot framework with selenium?
I need help to automate web scraping using a robot framework with selenium. never try before on how to web scrape automation.The scenario is simply like this : Open Chrome Browser Type address bar...
View ArticleTests fails when ran through testng.xml but passes when ran individually
I am trying to run all the test one by one using testng.xml file, but I keep getting Error: An unknown server-side error occurred while processing the command. Here is the testng.xml file: <?xml...
View ArticleSelenium Google Login Block
I have a problem with Google login. I want to login to the my account but Google says that automation drivers are not allowed to login.I am looking for a solution. Is it possible get cookie of normal...
View Article