Connect Remote Database using Selenium Webdriver and run Test Cases from...
I am using selenium web driver java built, the editor is eclipse. For testing one of our websites I am using Data-driven testing by fetching data from MySQL database.I dumped the development server...
View ArticleWhy is ChromeDriver not storing Cache when Quit is called in Headless mode?
I'm using the argument --user-data-dir=CacheData to save the Chrome session. But it only gets saved when the Chrome window is closed. When i call driver.Quit(); in Headless mode the session doesn't get...
View ArticleHow can I use Selenium (Python) to do a Google Search and then open the...
As the title said, I'd like to performa a Google Search using Selenium and then open all results of the first page on separate tabs.Please have a look at the code, I can't get any further (it's just my...
View ArticleUnsupported config option for services service: 'chrome'
I am trying to setup a selenium grid with docker using this blog But when i try to run docker-compose up -dIt is giving me error as: Unsupported config option for services service: 'chrome' my...
View ArticlePython - mount can't resolve selenium module in a container
I am trying to mount my host computer to my docker container which has selenium and chromeWebDrive. I ran the following command to start the container. docker run -d -p 4444:4444 -v ${PWD}:/dev/shm...
View Articlepython web scraping: How to read Twitter Class Names or IDS or...
Hello everyone i had a problem with the below code that i created,i cannot identify the class name or id or name of twitter page when i log into it and select those divsand then make like for all of...
View ArticleButton click works inconsistently (hangs) on Chrome Webdriver while executing...
I am using Selenium to automate a few browser actions on a particular website and I am using the below set of tools to achieve it.Python 3.8SeleniumChrome Web Driver 79.0Chrome 79.0The tasks that I do...
View ArticleGoogle Optimization for e2e test with protractor
Login optimization should be implemented in order to speed up the execution time of all e2e tests. Currently, after each test we have, the Chrome browser closes, and the next session login should be...
View ArticleSelenium (Java) - Chrome Headless - Unable to upload the file
Need an input related to uploading a file logic in the Selenium script in headless mode. Implemented Robot class to simulate keyboard commands, but it works only in non-headless mode. Here is how the...
View ArticleSelenium+PHPunit: foreach element in collection
I am looking for a way to work with collections of elements in Selenium with PHPunit. Let's say I have the below code:<div class="test">aaa</div> <div class="test">bbb</div>...
View ArticleSelenium hover code works in Chrome not Edge
public void Hover() { Actions action = new Actions(BrowserWindow.Instance.Driver); action.MoveToElement(WebElement).Perform(); } This is working in Chrome. Not Edge. I have confirmed with the developer...
View ArticleHow do you fix the "element not interactable" exception?
I know this has been asked lots of times before but how do you get around the "element not interactable" exception?I'm new to Selenium so excuse me if I get something wrong.Here is my code:button =...
View ArticleHow to Fetch Media Link Using ChromeDriver with Selenium
I am trying to fetch media link for a video URL in Chrome DevTools -> Network -> Media, while running with Selenium and ChromeDriver, in order to automate certain file downloads. Any ideas...
View ArticleSometime I can click on the button, sometime doesn't work
I am trying to click on a button if an element is found on the page. The element is on the page most of the time. 3 times work, and 1 time doesn't work. Here is my code:elements =...
View ArticleIs there Any solution to scrape table from...
I want to scrape Table from Daily Fantasy Nerd It requires to login I have username and password How can I do this using C# code??
View ArticleSelenium not working in Python
I have problem with Selenium! I tried both 3.6 and 2.7 but no difference! I'm using win7 (64bit)let's start with a simple code:binary = FirefoxBinary(r"C:\Program Files\Mozilla Firefox\firefox.exe") fp...
View ArticleHow to count the number of attributes whose value is lager than 0 in Selenium...
I'm using Selenium Python to count the number of attributes.The html code is here:<div id="leftw"> <a class="cat " cid="1">BEVERAGE</a> <a class="cat " cid="8">APPS</a>...
View Article"The import org cannot be resolved" error with the imports in Eclipse Photon...
I'm creating a basic selenium Webdriver program by adding the selenium jars and relative jars, below is my code. but when i try to resolve firefordriver and webdriver for importing them. im getting...
View Articleselenium-webdriver can't find the driver in javascript?
const {Builder, By, Key, util} = require("selenium-webdriver/Firefox"); async function example(){ let driver = await new Builder().forBrowser('Firefox').build(); await...
View ArticleAllure Create Screenshot - Selenium
I'm having trouble taking screenshots with allure. I have configured my interface in which in case of failure test I call the function whose task is to create a screenshot in the report. However, this...
View Article