Selenium selects multiple elements with shadow dom
I am working with the chrome://extensions page and I met some problems when trying to access a specific element using selenium. I am trying to get the extension id of an extension that I installed. The...
View ArticleHow to update test results in VSTS/Microsoft Test Manager using APIs/endpoint
How to update the test results in VSTS/Microsoft Test Manager using APIs. How to update the test results in VSTS/Microsoft Test Manager using Selenium/Java.
View ArticlePython selenium slows down when returning through loop
The scripts below read an excel sheet and find order numbers on the page; when one is found the script will enter the corresponding tracking number, return to the first page (which is the same page it...
View ArticleDifficult button to press in selenium
how to press the "f_agreements_all" button ?<label for="f_agreements_all"> <input type="checkbox" id="f_agreements_all"> <span></span> <span class="permText">I accept...
View ArticleHow to enable adblock with seleniumlibrary in robotframework
I would like to enable uBlock Origin plugin as ads on speedtest.net during robot framework test execution as ads completly jeopardize test result.So far I have created a Python script to create a...
View ArticleSelenium/standalone-firefox docker on raspberry pi not working: how to use...
I am trying to use RSelenium on a raspberry pi 3 B+. I managed to get R and RSelenium installed. I first tried to use rsDriver(browser = "firefox"), but I did not manage to get it work (it ends up with...
View ArticleHow do I loop through the children of an element I found using Python and...
I've found the element I'm looking for by link text and now I would like to print the names of all its children. The problem is that there are other links that use the same class all over the page and...
View ArticleIs it possible to speed up move_to_element() in Selenium or what are other...
What is the fastest way to trigger an onmouseover event when scraping a webpage?So I want to move the mouse over a div element, which is then calling a javascript function to update another div...
View ArticleSelenium: How to use Headless Chrome on AWS?
Today I saw the message UserWarning: Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead.I am willing to for for Chrome route. How do I install...
View ArticleHow does the Singleton class control when driver.quit() and driver.close()...
If I comment out the driver.quit() and driver.close() lines, the calling test classes use the same driver and browser session, but obviously do not kill the driver and browser on completion of all test...
View ArticlePython selenium webdriver read email address from response of java script
Below code open one url using and clicks on one button. The button shows email id. I am trying to grab that email id however not sure how to do that. Kindly help.from selenium import webdriver...
View ArticleHow to connect unified database
My application still using Unified database and i am trying to automated that using selenium Java. Could anyone please help me to identify driver or api i should use to connect to database. I tried...
View ArticleWhen To Use Implicit wait and where to Use
I am having some confusion regarding Implicit wait method provided by Selenium Webdriver.When to Use Implicit wait a- For Page Load (when Using driver.get) or for Ajax PopUp Load Like let say I am...
View ArticleThree elements have the same attribute but xpath keeps changing [closed]
1<a data-action="Delete" data-area="GENRE/CPP" data-title="Layer" class="data-popup initIcon deleteBtn ui-button ui-corner-all ui-widget tooltips" role="button"> Delete <span...
View ArticleSelenium Reusing Window Handles [Java]
My program navigates to different URLs using multiple threads. The way it works is that my program opens max two tabs per browser and then (once the limit is reached) it opens the next set of URLs in a...
View ArticleHow to set preferred language in Selenium for Internet Explorer?
I am executing tests through Chrome, FF and IE. I just added IE support however some pages change their language when I browse them through IE.I am trying to force IE to prefer English, however I don't...
View ArticleIs there a way to get elements from Chrome Browser in pure C#, without Selenium
In C# I use FindElement to find element:string text = driver.FindElement(By.XPath("//*[@id='errorPopup']")).text; Is there a way to perform such action on chrome without Selenium altogether (that means...
View Articleorg.openqa.selenium.NoSuchElementException: no such element: Unable to locate...
I have a scenario, where page takes me to a screen where it has a message like the functionality is not enabled. hence you are here. Then i need to navigate to the settings page and has to enable it...
View ArticleUsing selenium to solve captcha
My Code below is keep solving a different Captcha ! Please correct my mistake as i don't know what's causing that!from selenium import webdriver from python3_anticaptcha import ImageToTextTask,...
View ArticleIs there a way to use Selenium in python to access text from Inspect Element...
I'm trying to extract text from a webpage. When I right click the text on the webpage and click 'inspect element', I see where the text is in the html code. However, when I go to the view page source...
View Article