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

How to change the focus from chrome browser to internet explorer using...

Scenario : There is a button/link on a page opened in chrome browser and after clicking on a button/link it will navigate to the other link and opens in systems default browser i.e. Internet...

View Article


"cannot create temp dir for user data dir" error when not running as admin

I'm just able to run my python selenium code when I run it as admin. If I run it normally I get following error:C:\startup>Python C:/startup/startupWebDriverScript.py Traceback (most recent call...

View Article


Image may be NSFW.
Clik here to view.

Different behavior between a click Selenium and Mouse click

Current BehaviorUsing this piece of code from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from...

View Article

Python selenium ActionChains

when i run the code:for i in elementsList: action = ActionChains(driver) action.key_down(Keys.CONTROL).click(i).key_up(Keys.CONTROL).perform() it works (yes) & echo back this...

View Article

why can I not see my instagram comments postet with selenium

I create a python bot using selenium to login into instagram and comment on the newwest post from a user.It all works and the bot enters the comment, clicks on post and I can see the comment on my...

View Article


argument of type 'int' is not iterable Issue

What I trying to do is picking random integers from a value, for example: 1:32 will be an input, I will split by the : and then select a random value. Then Selenium will select the dropdown based on...

View Article

Getting html output of selenium page with error while running wdio.conf.js...

I am getting Error followed by html code of selenium page when running tests from wdio with command wdio wdio.conf.jspackage.json looks like this{ "name": "OpenWeathermap", "version": "1.0.0",...

View Article

can't find text box element by xpath or css selector

I am trying to enter some text into a text box on a webpage, here is the screenshot screenshot for Enter Symbol.My code works fine for all other elements except for the highlighted text box in the...

View Article


Selenium aspx results

I'm new to selenium, so apologies if the question isn't well formed. I'm looking at automating some data gathering. There is an ASP.NET site, where you can request data about a specific topic. When the...

View Article


Python class for twitter search...

ı was trying to write twitter search using python with python class but when it's time to search it's gives error like this; raise exception_class(message, screen, stacktrace)...

View Article

Create a list of links from the page...

i'm trying to create a list in python of all links from a page that contain a certain string. For example I'd like all links that contain "New York Rangers @" from this page...

View Article

Selenium(OSX and Linux) thowing error...

I am getting this error only in OSX and Linux but Windows OS it is working fineorg.openqa.selenium.SessionNotCreatedException: session not created: No matching capabilities found Build info: version:...

View Article

how to click link with selenium python

I tried to open html link in a jsp webpage using selenium, but it returns error "unable to locate element". please help me to fix the problem, thanks in advance.HTML:<a href="#"...

View Article


Can't Get Selenium WebDriver to Work on Mac

I downloaded the chrome webdriver and got the chromedriver executable in the /usr/local/bin. Still, the error shows up that "driver is not found" There might be something else wrong with the code...

View Article

How to maximize browser in minitest-rails selenium test?

I'm doing minitest-rails with feature testing.I noticed that the browser (i'm using chrome) is NOT in full width.Where or how can I set it in my configuration file?Currently I have installed the...

View Article


How to click a React Switch Toggle Component using selenium (java)?

I'm currently trying to click a toggle button in a native app on android. I've been using AndroidUIAutomator and It has be working for mostly all actions I've needed it for except for this particular...

View Article

Image may be NSFW.
Clik here to view.

Selenium checkbox not clicking

<div class="signup-agreement checkbox-item clearfix" xpath="1"><label for="memberContract" ng-class="{'checked': vm.memberContract}" class="checked"><div class="custom-input-wrapper...

View Article


List returns wrong number of elements

What could be the reason why my List returns wrong number of elements - instead of 9 it finds 13? Hence, I cannot validate the items - it appears like there are 4 elements in front of the actual 9. Any...

View Article

How does chrome driver interact with Chrome browser?

It says ChromeDriver is a standalone server that implements the W3C WebDriver standardIt looks like W3C WebDriver standard only defines the interface between the automation program and Chromedriver....

View Article

Python Selenium - can't get elements by xpath

<table class="wikitable" style="float: right;"> <caption>Current UTC </caption> <tbody><tr> <td>**January 26, 2020 01:13:27 (UTC) –** <span class="plainlinks"...

View Article
Browsing all 97770 articles
Browse latest View live


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