Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 98814 articles
Browse latest View live
↧

Multiple stacks in a config.json

In my config.json I want to have multiple stacks. I use different URLs and having to remember to switch the stack every time I run a different test is annoying. Is there a way of doing this or do I...

View Article


How to use Brave web browser with python, selenium and chromedriver?

I switched from Google's Chrome to Brave web browser and am having a hard time getting it to work with Brave like it did with Chrome. Brave is based on chromium so I guessed it should not be that hard....

View Article


What are the other ways to set priority of test cases in selenium TestNG...

Suppose there are 10 tests in a test class . I want to run them in a particular order. I can use priority attribute to set the priority of test cases. Is there any other way to set priority of test cases.

View Article

Chromium-Chromedriver missing library libgfx on Raspberry Pi

I'm trying to run Chromium in headless mode on Raspberry Pi 3. I got Chromium-chromedriver from this repository. I keep getting the same error. When I try running chromium-chromedriver from terminal it...

View Article

How can I append a something from within the parent if it is not in the child?

Using Python 3.7.I have 15 similar div which is name ="parentclass", some of childs containing "specific-class" and some of childs dont have, i must appent to my_list[] if dont have...

View Article


How to fix NoSuchElementException Python error on clicking on webpage button?

Basically I need to click on a button, which is inside a frame on a webpage. I have tried:1) Switching to frame, which works fine, doesn't return any...

View Article

Unable to .Sendkeys with Date value in Angular input textbox

I am trying to send a date to a input textbox of an Anuglar application. The text box only accepts date format. I tried declaring the date as an int or a Date and then adding an empty string at the...

View Article

Image may be NSFW.
Clik here to view.

Issue with login using selenium and python

I am getting following errorno such element: Unable to locate element: {"method":"xpath","selector":"//input[@placeholder='User ID']"} (Session info: chrome=78.0.3904.70). Let me know how can i pass...

View Article


google login working in without headless but not with headless mode

im trying to login into my google account using python selenium with chromedriver, the code works but not in headless mode. in hm i get the the identifierId never appears :(EDIT: added missing...

View Article


Testing Safari browser with Selenium throws OutOfMemory exception

I am trying to automate testing of our application on the Safari browser however I got stucked on the java.lang.OutOfMemory during test run. The code is actually quite simpleprivate WebDriver...

View Article

How to prime selenium webdriver in conftest?

I am trying to prime the selenium webdriver in a way that it can be instantiated in conftest.py while also defining which browser I am using via cli.I am using code from this tutorial as a base but...

View Article

Unable to determine XPATH with nested SVG elements

On front it showing in a tabular form with four columns and i wanted to click on second column where something written. I confirmed and tag has not been used. when i am trying to locate that element...

View Article

Extract a content from `

There is a tag like <a href="data:text/csv;charset=UTF-8,%22csvcontentfollows"> on a html page. How to get this CSV content from hrefwithout meta substring data:text/csv;charset=UTF-8?Is there a...

View Article


how to click on an item in table in popup in selenium with python?

when I click on a button it shows a popup that is a table with some choices, then I should click one of them and then accept button. But when I use id, name, select,... all of them give me this...

View Article

selenium & chrome 78 failing basic authentication

In a C# program, just installed chromedriver 78.0.3904.70: Loading URLs protected by Basic Authentication is now failing.Before chromedriver 78: Setting driver.Url = [basic-auth-url] would cause Chrome...

View Article


Selenium isn't able to connect to safaridriver

So our setup is we've got a cucumber app using Selenium to run tests in Safari. We recently set up a dedicated mac mini to run these tests. The steps are to clone the repo, set up RVM, set the right...

View Article

Selenium Proxy Authentication Not Working

I am trying to setup my chrome driver with proxies. I got proxies without authentication to work but when I try to use a proxy with username and pass it does this weird refresh thing in data that I...

View Article


selenium click event doesn't work with Python

I want that de program click on the input of the website. I find the element with a class name.I tried to change the class name but doesn't work.from selenium import webdriver from...

View Article

Protractor tests breaking on update to new chromedriver/chrome

I have recently updated my chromedriver after chrome updated itself, to fix the usual error message for having missmatches in the two.Thanks to this all of my protractor tests have now broken.In brief,...

View Article

Numeric text box UpDown control AutomationID access with WinAppDriver

I have been testing a desktop application (WPF). in Use: C#, Appium, WinAppDriver. There are several numeric textboxes in one menu. The problem I have here is that I can't access the UpButton of a...

View Article
Browsing all 98814 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>