logo
down
shadow

SELENIUM QUESTIONS

Selenium or Rational Functional Tester
Selenium or Rational Functional Tester
like below fixes the issue Both automated test tools offer some of the basic capabilities of automation. However there is a massive difference between Rational Functional Tester (RFT) and Selenium. IF your aim is basic testing, where the outcome is s
TAG : selenium
Date : November 24 2020, 07:00 PM , By : user3862814
Choosing an automated testing tool
Choosing an automated testing tool
Does that help seleniumrc works with IE. You can specify the browser and the path to it within the config file.It can be easily integrated into night builds via ant.
TAG : selenium
Date : November 16 2020, 07:01 PM , By : EdwinTaiwan
how to close selenium hub/grid from command prompt
how to close selenium hub/grid from command prompt
seems to work fine http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer is the command to close the opened selenium session. If the session is opened using batch file please remove the '@pause' command if its is used. This is usef
TAG : selenium
Date : November 11 2020, 07:00 PM , By : Flow
selenium element.click() not working (doesn't click)
selenium element.click() not working (doesn't click)
wish helps you The selector is not directing to the element with button class. You have a space between .button and :first-child in the selector. Remove the space. The given selector is searching for a child element of the tag with button class. But
TAG : selenium
Date : October 22 2020, 06:10 AM , By : A. Tate
selenium webdriver error on send_keys(Keys.ENTER)
selenium webdriver error on send_keys(Keys.ENTER)
this one helps. Please check 'find_element_by_name' for search button or use xpath.I run script in java. Hope this helps you...
TAG : selenium
Date : October 20 2020, 06:10 PM , By : Boss
How do I use a variable for multiple method in selenium?
How do I use a variable for multiple method in selenium?
will be helpful for those in need You cannot pass a variable between Cucumber steps as its value is getting cleared each time new step is being executed. The easiest solution is to declare it as static, however this way you can run into issues if you
TAG : selenium
Date : October 15 2020, 06:10 PM , By : user6022020
How to fix this issue " chrome browser compatibilty issue in selenium webdriver"?
How to fix this issue " chrome browser compatibilty issue in selenium webdriver"?
it should still fix some issue Issue : Your Chrome Browser Version is 74 and Your framework is having ChromeDriver Binary v73.0.3683.20 which supports Chrome Browser v73Solution : Update your ChromeDriver Binary Version to v74.0.3729.6
TAG : selenium
Date : October 14 2020, 03:00 AM , By : Jani Gee
How to check if list element is present or not
How to check if list element is present or not
it should still fix some issue I have page object I want to know how to write a method if no elemenets are displayed or present pass the test case otherwise keep testing.
TAG : selenium
Date : October 14 2020, 02:00 AM , By : Bojidar Valchovski
Get unique css selector from WebElement
Get unique css selector from WebElement
will be helpful for those in need You can always use Reflection to get foundBy property value like:
TAG : selenium
Date : October 13 2020, 03:00 PM , By : PimPeuh
setCapability() can be called using FirefoxOptions() and DesiredCapabilities object, what's the difference and where to
setCapability() can be called using FirefoxOptions() and DesiredCapabilities object, what's the difference and where to
wish help you to fix your issue DesiredCapabilities is the old way of doing things and is currently deprecated. The Options pattern is the new way of doing things and has come into Selenium as part of the work of moving the API across to the new W3C
TAG : selenium
Date : October 13 2020, 12:00 PM , By : Егор Козырь
Finding elment in Selenium using XPath
Finding elment in Selenium using XPath
I wish did fix the issue. What is the difference between ".//", "//","./" and "/" in XPath while finding element in Selenium? Describe. , XPath Definitions:
TAG : selenium
Date : October 13 2020, 09:00 AM , By : HorizonP
Unable to handle Microsoft login authentication popup in headless chrome[Selenium using java]
Unable to handle Microsoft login authentication popup in headless chrome[Selenium using java]
this will help With the current implementation of ChromeDriver and Chrome using switchTo().alert() may not the best possible way to work through Basic Authentication functionality. Instead, an ideal and elegant way would be to embedded the credential
TAG : selenium
Date : October 13 2020, 01:00 AM , By : HRN
Element not found error in Pop up iframe in selenium
Element not found error in Pop up iframe in selenium
I wish this help you Switch to appropriate iframe and find your element in that frame.Example ::
TAG : selenium
Date : October 12 2020, 07:00 PM , By : Zaiper Edwin
Extent Reports: Test Steps are getting merged in last test in Extent Reports, When executing test in Parallel
Extent Reports: Test Steps are getting merged in last test in Extent Reports, When executing test in Parallel
To fix the issue you can do The Test Steps and Test Logs are getting merged in to the single last test. , This is your problem:
TAG : selenium
Date : October 12 2020, 11:00 AM , By : A. Taylor
Cannot click on element
Cannot click on element
Does that help To click() on the desired element you have to induce WebDriverWait for the desired element_to_be_clickable() and you can use either of the following Locator Strategies:
TAG : selenium
Date : October 11 2020, 11:00 PM , By : Tracy Wu
How to wait until for "particular text" is present on page without knowing xpath or element id
How to wait until for "particular text" is present on page without knowing xpath or element id
To fix this issue I want to wait until page is fully loaded or some text on page is visible using selenium chrome webdriver. The problem is I can not see inspect element because It is aws terminal linux session. , Option 1: you can check for the text
TAG : selenium
Date : October 11 2020, 08:00 PM , By : Metronom
Trying to get altair to save .png or .svg in the PythonAnywhere platform
Trying to get altair to save .png or .svg in the PythonAnywhere platform
should help you out Altair assumes you are using selenium version 3 or later. Update your selenium installation and the error should go away.
TAG : selenium
Date : October 11 2020, 01:00 AM , By : Nikhil Nepolean
How to disable "Mark non-secure origins as non-secure" within selenium tests?
How to disable "Mark non-secure origins as non-secure" within selenium tests?
will be helpful for those in need "Not Secure" SSL Error As per Fix “Not Secure” SSL Error on Chrome Browser | Remove Warning with the release of Chrome 68, Google started showing all the HTTP sites as Not Secure on Chrome Browser.
TAG : selenium
Date : October 10 2020, 09:00 PM , By : x41
How can we make selector using dynamic String in @FindBy
How can we make selector using dynamic String in @FindBy
wish help you to fix your issue No way to use @FindBy with dynamic xpath. You need build By.xpath in method
TAG : selenium
Date : October 10 2020, 10:00 AM , By : Thomas White
Cannot read property 'defaultView' of undefined
Cannot read property 'defaultView' of undefined
this will help To click on the following link use WebDriverWait and elementToBeClickable and then click on the link using the following xpath.
TAG : selenium
Date : October 09 2020, 04:00 PM , By : bharathi
Getting error message in Edge 'JSON wire protocol command endpoint is not allowed' when server uses w3c
Getting error message in Edge 'JSON wire protocol command endpoint is not allowed' when server uses w3c
hop of those help? Another workaround is to specify an intermediate script for the Edge Driver which: Invokes the actual Edge Driver executable, passes all invocation parameters to it and additionally adds the "jwp" parameter.
TAG : selenium
Date : October 09 2020, 09:00 AM , By : Eugene Korshunovich
Not able to find correct Xpath
Not able to find correct Xpath
like below fixes the issue Xpath not identifying while running script in Selenium robot Framework , I suspect you are suffering from quote marks problems. Try:
TAG : selenium
Date : October 09 2020, 07:00 AM , By : mikunbond
How can i fix “invalid argument: invalid 'expiry'” in Selenium when adding cookies to a chromedriver?
How can i fix “invalid argument: invalid 'expiry'” in Selenium when adding cookies to a chromedriver?
hope this fix your issue first of all follow link from comment to change pickle to dict see also this
TAG : selenium
Date : October 09 2020, 02:00 AM , By : Ncelebana Umdhlebe
How can we put wait if application doesn't support implicit wait or explicit wait? I'm using Thread.sleep() in mycase
How can we put wait if application doesn't support implicit wait or explicit wait? I'm using Thread.sleep() in mycase
wish help you to fix your issue Explicit Wait is not the feature of the application, it's the feature of Selenium which is under the hood of Appium
TAG : selenium
Date : October 08 2020, 11:00 AM , By : Vampi
How to use not contains to find specific div which does not contains certain image
How to use not contains to find specific div which does not contains certain image
I hope this helps you . You where close, the is a decedent, not part of
TAG : selenium
Date : October 08 2020, 04:00 AM , By : nagarjun c s
Google Chrome window resizing limitation
Google Chrome window resizing limitation
I think the issue was by ths following , I found an answer to my question in another StackOverflow question."Chrome cannot resize horizontally below 400px (OS X) or 218px (Windows)"
TAG : selenium
Date : October 08 2020, 02:00 AM , By : Rex Tsou
Cannot resolve method click()
Cannot resolve method click()
hop of those help? You are performing driver.findElements which returns list of web elements that matches the given xpath pattern. And you cannot perform click over a list.Try performing driver.findElement which returns a single element (the very fir
TAG : selenium
Date : October 07 2020, 05:00 PM , By : Veniyamin Dudko
ChromeDriver 76.0.3809.68 is throwing exception with SelectByVisibleText method: Script returns unexpected result
ChromeDriver 76.0.3809.68 is throwing exception with SelectByVisibleText method: Script returns unexpected result
help you fix your problem I had the same issue, but working fine after downgrading Driver version: Chrome is 76 (76.0.3809.100) and Driver is 75 (75.0.3770.140)
TAG : selenium
Date : October 06 2020, 03:00 PM , By : haywood
Do we need to give less time declared for ExplicitWait compared to Implicitwait
Do we need to give less time declared for ExplicitWait compared to Implicitwait
This might help you Honestly, with a good implementation of test automation framework, you don't need implicitWait. You should always explicitly wait for the conditions.The implicit wait might cause your tests to run slower. Automated Test Suite shou
TAG : selenium
Date : October 06 2020, 08:00 AM , By : jrtx
How can I find out what number in <ul> some <li> element is? In Selenium
How can I find out what number in <ul> some <li> element is? In Selenium
help you fix your problem //span[text()='Nikotiiniriippuvuustesti'] will give you a with the given text /ancestor::li axis will give you the parent tag /descendant::button axis will give you the you're looking for Putting everything together:
TAG : selenium
Date : October 06 2020, 03:00 AM , By : Sugandha
protractor/selenium started ignoring the chrome options (chromeOptions) in protractor.conf.js
protractor/selenium started ignoring the chrome options (chromeOptions) in protractor.conf.js
I hope this helps you . In recent versions of selenium you have to specify the chrome options as goog:chromeOptions. So just change the chromeOptions line above to the following:
TAG : selenium
Date : October 05 2020, 10:00 PM , By : Ted Thomas
How safe is it to use Selenium to auto-fill forms with sensitive information
How safe is it to use Selenium to auto-fill forms with sensitive information
Does that help While using Selenium as mentioned in the Security section within WebDriver - W3C Recommendation the only security concern is that:
TAG : selenium
Date : October 05 2020, 10:00 AM , By : Ibrahim
Getting "Failed to start Selenium listener." error message while running testcafe script through saucelabs
Getting "Failed to start Selenium listener." error message while running testcafe script through saucelabs
This might help you It looks like another application already used the 4445 port (see a similar discussion here).   Also, you can use the official Saucelabs Troubleshooting Guide to fix this problem.
TAG : selenium
Date : October 04 2020, 08:00 AM , By : Filip Cosmin
Problem logging onto e-trade on selenium and chrome_driver
Problem logging onto e-trade on selenium and chrome_driver
fixed the issue. Will look into that further I use python asyncio and pyppeteer with chrome to automate the login into etrade. A few months ago etrade changed something and I started getting blocked. With headless set to False I could see an error wa
TAG : selenium
Date : October 03 2020, 07:00 PM , By : Shubham Kumar
Upload file element not interactable
Upload file element not interactable
like below fixes the issue You are trying to send keystrokes to a div. You need to select on the input under the div, and then send the keystrokes to that instead.
TAG : selenium
Date : October 03 2020, 03:00 PM , By : Emanuele Bartolomucc
What are the browser startup parameters of Firefox when using selenium?
What are the browser startup parameters of Firefox when using selenium?
it fixes the issue For headless browser. If you are using webdriver manager you can use following structure as well.
TAG : selenium
Date : October 03 2020, 09:00 AM , By : user6058744
Error Domain=com.facebook.WebDriverAgent Code=1 "Unsupported origin type 'Image' is set for '
Error Domain=com.facebook.WebDriverAgent Code=1 "Unsupported origin type 'Image' is set for '
I hope this helps . As i can see, you are working with iOS device, right? If so as far as i know appium doesnt support Actions class for all iOS versions, if you want to scroll the screen, you better use that:
TAG : selenium
Date : October 03 2020, 06:00 AM , By : Junayed Khan
Is this error due to the wrong version of chromdriver?
Is this error due to the wrong version of chromdriver?
I hope this helps . Step 1: Please check that your Chromedriver Chrome Browser version is the same.Step 2: Go to Windows/System32 and make sure there is no chromedriver file is there.
TAG : selenium
Date : October 02 2020, 10:00 AM , By : Nicholas Michael Wal
Selenium tests broken by recent update of safari to version 13?
Selenium tests broken by recent update of safari to version 13?
it should still fix some issue Safaridriver maintainer here.This is a known issue that we believe has already been fixed in Safari Technology Preview Release 91. Please verify whether the issue reproduces using latest STP's safaridriver, and reach ou
TAG : selenium
Date : October 01 2020, 05:00 PM , By : Tim B.
Is it possible to send arguments to Nightwatch from the command line?
Is it possible to send arguments to Nightwatch from the command line?
I wish did fix the issue. Since you're using a NodeJS-based framework, why not make use of a process.env variable?Suppose you need to tell your script what environment you want to run your checks agains. Let's call our system variable ENV. Your comma
TAG : selenium
Date : October 01 2020, 08:00 AM , By : Bob Jupiter
Click event not working in Safaridriver on Catalina OS where the same working on Firefox and chrome
Click event not working in Safaridriver on Catalina OS where the same working on Firefox and chrome
wish of those help This is an existing issue for Safari v13, a lot of people are experiencing the same.There is a similar question here .
TAG : selenium
Date : September 30 2020, 07:00 AM , By : Hazdiba Aziz Artis O
"element click intercepted" only on TFS
"element click intercepted" only on TFS
hop of those help? This sounds like my never-ending battle with Jenkins test execution vs. local test execution.I can tell you right now, the issue is probably the browser size you are running your tests against.
TAG : selenium
Date : September 29 2020, 04:00 PM , By : ANDrei
How to utilize saved Chrome password to implement an auto-login script, so that I don't have to put plain-text password
How to utilize saved Chrome password to implement an auto-login script, so that I don't have to put plain-text password
I wish this helpful for you TestCafe allows you to use the current Chrome profile for testing purposes. As stated in the documentation:
TAG : selenium
Date : September 29 2020, 08:00 AM , By : Mahesh Patidar
How to integrate Selenium Docker for .Net Core with Azure Pipelines
How to integrate Selenium Docker for .Net Core with Azure Pipelines
hop of those help? If you tried the tutorial @Infern0 mentioned. You can then try adding a Docker task in your azure pipelines.First you may need to create a docker service connection in your azure devops. Check here for more details. Then you can ad
TAG : selenium
Date : September 28 2020, 09:00 PM , By : cminor9
Is @FindBy (id = 'blabla') same thing as //*[@id='blabla]
Is @FindBy (id = 'blabla') same thing as //*[@id='blabla]
Any of those help Functionally these all do the same thing: The @FindBy(id = "foo") annotation driver.findElement(By.id("foo")) driver.findElement(By.xpath("//*[@id = 'foo']")) driver.findElement(By.css("foo"))
TAG : selenium
Date : September 28 2020, 01:00 PM , By : Rupert Malcolm Jr
Selenium: Is it possible to launch browser without installing it
Selenium: Is it possible to launch browser without installing it
should help you out You needn't to install that browser, just download portable version of that browser and set main executable of browser in your test.Example:
TAG : selenium
Date : September 27 2020, 07:00 AM , By : Richard Lin
Jenkins starts chromedriver in background mode (like headless mode)
Jenkins starts chromedriver in background mode (like headless mode)
I hope this helps you . When the Jenkins slave run as service in the background every program it initiate, like running the batch file, will also be in the background. The solution is to run the Jenkins slave as a regular program in the foreground.
TAG : selenium
Date : September 26 2020, 04:00 PM , By : Usha Spandana Movva
Error ArrayIndexOutOfBoundsException when try to get price of study lamps on pepperfy.com
Error ArrayIndexOutOfBoundsException when try to get price of study lamps on pepperfy.com
wish help you to fix your issue I try to implement same logic to get the offer price for study lamps from pepperfry.com but I am getting ArrayIndexBoudn exception. Please find below code : , It's a special character. You need to split as below.
TAG : selenium
Date : September 26 2020, 03:00 PM , By : tobizzz
How to do pull to refresh in appium?
How to do pull to refresh in appium?
it helps some times ** You should always share the code you tried **You can do a pull to refresh by swiping down from mid of screen to bottom of the screen. This way you don't have to be dependent on any Element. Following are the steps.
TAG : selenium
Date : September 23 2020, 05:00 PM , By : Patrick Felger
Selenium: Why are explicit waits preferred over implicit waits?
Selenium: Why are explicit waits preferred over implicit waits?
will be helpful for those in need Implicit wait continuously polls the DOM looking for a specific condition and it implies a common 'up to' time limit for all calls in a session. Explicit wait, on the other hand, specifies a 'up to' limit for a speci
TAG : selenium
Date : September 21 2020, 12:00 PM , By : lokudasu
Selenium scraping JS loaded pages
Selenium scraping JS loaded pages
this one helps. The reason it's not finding it is because the page isn't fully rendered. You can add a wait with selenium so will not move on until the specified element is rendered first.Also, if it's in a tag, let pandas do the parsing for you (it
TAG : selenium
Date : September 21 2020, 09:00 AM , By : Umang
Sign in to gmail account fails (selenium automation)
Sign in to gmail account fails (selenium automation)
will help you Toggle "Allow Less Secure App Access"There is a setting on your account that you can toggle that may help with this. It is the "Allow Less Secure App Access". You should be able to visit the link below to toggle that setting if you are
TAG : selenium
Date : September 20 2020, 10:00 AM , By : Anna Asatryan
How to run 1000 user concurrently using Jmeter and Selenium Webdriver in Junit without causing PC to hang?
How to run 1000 user concurrently using Jmeter and Selenium Webdriver in Junit without causing PC to hang?
wish help you to fix your issue Each browser has its system requirements, for example for Firefox 71 they are: 512MB of RAM / 2GB of RAM for the 64-bit version Pentium 4 or newer processor that supports SSE2
TAG : selenium
Date : September 18 2020, 06:00 PM , By : Alejandro Montagna
frameToBeAvailableAndSwitchToIt() is not helping to switch to frame
frameToBeAvailableAndSwitchToIt() is not helping to switch to frame
help you fix your problem You need to switch back from previous frame in order to move to another frame.using
TAG : selenium
Date : September 11 2020, 06:00 PM , By : tuomas-savolainen
Cucumber Data Tables - using POJO/PROP file
Cucumber Data Tables - using POJO/PROP file
To fix the issue you can do Is there a way to use a prop file value / POJO in the Data Table? , Add the keyword Examples above the table with examples, as follows:
TAG : selenium
Date : September 10 2020, 05:00 AM , By : Patrice
how to resolve xpath for selenium throws org.openqa.selenium.InvalidSelectorException
how to resolve xpath for selenium throws org.openqa.selenium.InvalidSelectorException
Any of those help How to resolve Method threw org.openqa.selenium.InvalidSelectorException exception when we have the xpath has //td/text()[following-sibling::br and contains(.,'text')] , Your XPath,
TAG : selenium
Date : September 03 2020, 10:00 AM , By : raji n
shadow
Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk