Category "selenium"

Get multiline text from textarea with Selenium VBA

I need to get multiline text from textarea element of web-page. I see in Chrome developer tool that text I need is stored in value property of textarea. I marke

Selenium - Get a list of all the elements between two h1 elements

I have a webpage with the following HTML snippet within it <h1> ... </h1> <p> ... </p> <p> ... </p> <h1> ... </h1&

Selenium WebDriver new tab and Navigate

Based on this post, I managed to open a new tab, but when I try to navigate in the new tab, the navigation occurs in the old tab. I saw that I should use this:

Selenium 3 compatibility issue with FireFox 50? Can't get any iframe

There are two environments, one is my local with Firefox 47 & Selenium 2.0, the other one is remote vm with Firefox 50 & Selenium 3. With the same code

How to automate Google PageSpeed Insights tests using Python

Is there a way to automate checking Google Page Speed scores?

ChromeDriver Does not find the element on the page with selenium JAVA

I am trying to find an element on the page, I want to sorter the result list but my result show me that is not attached on the page: Exception in thread "main"

selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service ./drivers/chromedriver.exe

Trying to set up my first project using Selenium and Python and am getting an error with my chromedriver. I have already found similar questions/solutions on he

Selenium Webdriver and XStudio

Does anybody know how to setup XStudio to run Selenium Webdriver Tests? I cannot find any documentation or information about that. There is only one mention on

python selenium how to copy text?

How to copy text with selenium xpath? When I writing driver.find_elements_by_xpath("//div[@class='rankingItem-value js-countable']").text I get next error

How to send ESC key to close pop up window using Python and Selenium?

As mentioned, is there a way to send global ESC key to close popup(CSS MODAL Window)? I tried following but did not work: driver.find_element_by_tag_name('body

Xpath for button having text as 'New'

In our application almost in every screen we have a button with text 'New', Here is the html source for one of the button: <button id="defaultOverviewTable:

Test if element is present using Selenium WebDriver?

Is there a way how to test if an element is present? Any findElement method would end in an exception, but that is not what I want, because it can be that an el

How to stop selenium from printing WebDriver manager startup logs?

When I'm launching a new selenium driver I get a message as: ====== WebDriver manager ====== Current chromium version is 90.0.4430 Get LATEST chromedriver versi

xcodebuild exited with code '65' and signal 'null'

Hello I am having issues in launching ios real device for testing. My xcode version: 11.2.1 (11B500) Appium Version : 1.13.0 (1.13.0.20190505.6) These are my

Selenium 4.x execute "Page.addScriptToEvaluateOnNewDocument" properly

I'm having a strange issue where I really cannot find a solution. My production website needs some testing and of course bot checking is enabled (not naming it)

Python Global Variable Not Defined - Declared inside Class

I've seen a lot of questions on global variables, but for some reason I still can't get mine to work. Here is my scenario - I have my individual test cases an

How to click elements that have generated id's if I don't know what the ID will be in Selenium

Say I have some HTML mark-up as such: <select id="select_titleOfSelect-1212_01" name="titleOfSelect-1212" <option value="ONE"></optio

Automating Edge Browser using VBA without downloading Selenium

I had the Automation tools which are written considering the IE. Now, I want to re-write those same tools this time by considering the "Microsoft Edge" as the d

How can I select all the options in a drop down- Selenium Webdriver?

Currently working on Selenium WebDriver and using Java. If I have drop down name called Product.. In that drop down I have so many values (for ex:60). when exe

How to get text with Selenium WebDriver in Python

I'm trying to get text using Selenium WebDriver and here is my code. Please note that I don't want to use XPath, because in my case the ID gets changed on every