Selenium : I have a webpage where two elements have same Xpath, even index...
They both get identified when the index is [1], and for index [2] nothing gets identified. The only thing which separates them is that the first popup has display:none, and the other popup has...
View ArticleScrapy, Selenium, jQuery Dropdown inconsistent behavior with select tag...
I'm trying to set dropdowns on this page: https://willmyphonework.net/AdvanceLookupThe first dropdown and the fourth dropdown are very similar (brands and country). This is the code I'm using for...
View ArticleHow to use csv variables when filling repeated web pages
I'm trying to automate the filling out of a repeated web page using csv data in selenium. These posts, Question 1 and Question 2 have been very helpful. Specifically, I want to enter data into a .csv...
View ArticleUnable to log in with user account in chrome webdriver #selenium #python...
This question already has an answer here:Gmail login using selenium webdriver in java 1 answerLog into gmail using Selenium in Python 1 answerSelenium test scripts to login into google account through...
View ArticleHow does Selenium click on elements that are 50% on screen and 50% not on...
There is a div-Element. 50% of its size are on the screen. The other 50% go over the screen height and are not visible. There is no scrolling possible.I tried to automate a test with Selenium and click...
View ArticleUnreachableBrowserException: Could not start a new session. Possible causes...
While executing my suite dynamically on grid using docker-compose, I am getting the following exception stacktrace:org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session....
View Articleunknown error: DevToolsActivePort file doesn't exist error while executing...
I have an ubuntu server having the UI as well. U can execute the test cases by firing mvn test command. But the problem is when I do ssh of the machine through the terminal from another machine I get...
View ArticleGetting a method to run after refresh?
I'm having trouble getting my main method (or any method) to run after refreshing the page with Selenium Python. Everything including the refresh works fine, but how does one get the program to run...
View ArticleUsing Selenium C# to click a recent link on a web page that updates
So, i am trying to use Selenium to scrape this webpage that updates every couple seconds. I am looking to click on the most recent link which, in this case, is the link by Edward Researcher. This list...
View ArticleSelenium - wait until element is present, visible and interactable
I have a selenium script (python) that clicks a reply button to make the class anonemail appear. The time it takes for the class anonemail to appear varies. Because of that I have to use sleep until...
View ArticleHow to close two tabs and open a new tab with different url
I have a test case in QA where guest clicks on a link and a new tab will opens. But this new tab is defaulting to Prod, so I don't want to continue my test case in prod and I want this tab to close and...
View ArticleVerify the mouse hover menu items list in Selenium
I am trying to get the selenium automation script to get the list of mouse hover menu items.Launch the web browser Find the required element i.e. ‘Music’ object in our sample Now move the mouse on...
View ArticleUnknown Host in selenium HtmlUnitDriver
I am getting Unknown Host as a return of driver.getPageSource()public static void main(String[] arg) { HtmlUnitDriver driver = new HtmlUnitDriver();...
View ArticleI have a Problem on Extracting Web Scraping Data
I'm having a problem with extract company information of all company information details of URL: http://desiopt.com/search-results-jobs/ how to extract all 37116 job details by using Web...
View ArticleHow to get an element after it has changed in selenium?
I have pages with ads that display phone numbers after clicking on an item, but all these pages can have different formats and iterate over them all for a very long time. Page example.I try to find a...
View Articleselenium execution hanging for 3 hours in saucelabs and on premises
The test cases are hanging for 3 hrs in sauce. I have tried solutions for TCP connection issue in sauce with selenium(using selenium and java) versions 3.11.0 , 3.141.59. But it is not working. I am...
View ArticleHow To Minimize Your Chrome Browser With Selenium Python?
I Want To Know How to Minimize My Chrome Window in seleniumI Don't Want How To Maximize Because I Know how to maximize chrome window!Here is my code:options = webdriver.ChromeOptions()...
View ArticleSelect item using drop down in selenium using python
I have just started using selenium in python which is very new to me, I am using it to automate a process. I want to find out how i can use the drop down function to select an item using it's index...
View Articlejava.lang.ClassCastException: class org.openqa.selenium.By$ByXPath cannot be...
I am trying to automate radio button in selenium web driver using Page object model. Below is my code explanation:By AutomaticDataLockTimed =...
View ArticlePossible issue with Chromedriver 78, Selenium can not find web element of PDF...
Until my google Chrome wasn't updated to version 78 my code worked fine. I also updated the chromedriver to version 78.0.3904.70. So I am not able anymore to find WebElement with id='plugin' using...
View Article