Category "selenium"

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

How to mute all sounds in chrome webdriver with selenium

I want to write a script in which I use selenium package like this: from selenium import webdriver driver = webdriver.Chrome() driver.get("https://www.youtube

python selenium find elements by xpath returns a list of a links but element not interactable

I am using this xpath //a[contains(., 'Download Python')] on www.python.org/downloads in chrome developer tools I get 4 matches, each one match the following

What Exception to throw when a web element is found in Selenium Automation [closed]

Currently, I am working on a "Selenium Wrapper Library", where a set of methods are created in order to perform automation on a particular Web

ImportError: cannot import name 'remote_connection' from 'selenium.webdriver.chrome'

When trying to import this library from instaclient import InstaClient I get the following error C:\Users\localhost\Desktop\Bot>python bot.py Traceback (mos

How to send info to site about desktop resolution in Selenium?

I am developing an application and I need to send some info about the resolution of a browser's window and the resolution of a monitor. The resolution is curre