Unable to locate element: {"method":"css selector","selector":"#id_gender1"}
I'm trying to select a checkbox / radio button by all the possible ways that I can think of, but none of them have worked.This is the way I am trying to identity de checkboxWebElement selectGender =...
View ArticleValidation of two different xpaths in selenium Java
I have two xpaths two validate and increase the count of two different xpaths during run time.xpath1 and xpath2 - These two xpahts are from calendar view. I have scenario to validate xpath1 is...
View ArticlePython autonomation slider
I have been trying to autonomate a process of updating the available number of products on a web page, which, at the moment, is done manually.I successfully log in to the website using requests, but...
View ArticleSelenium cannot target div in iframe only on Chrome
I have a div with a class attribute with the value textLayer. I'm trying to get that div. Here is my code:WebElement jsiFrame = driver.findElement(By.tagName("iframe"));...
View ArticleAuto forms with GET requests won't get filled out when run in Docker
I have Protractor tests that fills out few forms. Everything works fine when running tests outside the docker. I have a form, in which some fields will be automatically filled out when specific ID`s...
View Articlechromedriver using selenium for scraping
I am trying to load chrome web driver using selenium in command but getting an error 1)I have updated my chrome browser and webdriver to the latest version 2)checked by using the same version of chrome...
View ArticleHow can I get multiple elements and print in Robot Framework- SeleniumLibrary?
${get_t}= Get Text //h6[@class='MuiTypography-root MuiTypography-subtitle2'] Log ${get_t} ${get_t1}= Get Element Count xpath://h6[@class='MuiTypography-root MuiTypography-subtitle2'] Log ${get_t1}...
View ArticleGet Browser notification message with Selenium
Does anybody know a way to get the text of a Browser push notification with Selenium in Python ? I am aware of the function driver.switch_to.alert().getText() , however this seems to be for "pop-up...
View ArticleChange IP with connect/disconnect wifi and ExpressVPN python
I made a python script in order to scrape some google search results but after a while google obviously send me captcha.I tried to workaround by disconnecting and reconnecting Wi-Fi and then start...
View Articlepytest_bdd.exceptions.StepDefinitionNotFoundError error is getting triggered...
pytest_bdd.exceptions.StepDefinitionNotFoundError error is getting triggered on using parsers.re in StepDefinition. I have used the below feature fileFeature: Login Page Scenario: Opening Login page...
View ArticleUnable to locate an element because of timeout in selenium python
I'm trying to finding a way to check if a new page/window is opened successfully and has content or not. I know that selenium is not able to check code 200 to see if the page is successfully loaded or...
View ArticleProtractor webdriver-manager permissions?
I'm on Windows Server 2016. Under my regular user account (which I added to the local Admin group) I cannot run protractor tests. I get E/launcher - WebDriverError: Timed out waiting for driver server...
View ArticlePython Selenium webdriver locating element error
I am studying how to use Python Selenium to login a website "https://you.163.com/". However, hours past, I still fail. Error message is below: selenium.common.exceptions.NoSuchElementException:...
View ArticleFind web element for selenium
How to click on Apply Now button Apply NowI have try with bunt did not workWebElement Apply =driver.findElementByXPath("/a[text()[contains(.,' Apply Now ')]]");
View ArticleNot able to click on button Apply now in selenium
enter image description hereApply Now I have already try following driver.findElement(By.xpath("//a[text()='Apply Now']")).click(); driver.findElement(By.xpath("(.//[@href='Apply Now'])")).click();...
View ArticleLinkedIn automate "Sign in" click Python+Selenium
I am trying to automate login in LinkedIn with Python and Selenium.Where I am stuck so far is on the Sign in button. When I try to click it with driver.find_element_by_xpath('//a[text()="Sign...
View ArticleNo source TO compile maven-compiler-plugin:3.5.1:compile in Linux System
I am trying to run my selenium tessts from a linux system where Jenkins is configured . But On running the job i am getting No sources to compile message @ maven-compiler-plugin:3.5.1:compile section ....
View ArticleHow to pass string to an XPath containing text?
I get id of a text which is in selected mode using Selenium Webdriver by using this code:String requiredId = driver.FindElement(By.XPath("//option[@selected='selected' and...
View ArticleImage comparison in Selenium WebDriver using java
I am currently working in Selenium WebDriver to compare two images during automation. Currently I am using pixel comparison but the problem comes if the browser size is changed or the system is...
View Article