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

iframe zoom out issue trigger scroll selenium java

I am trying to capture a snapshot from a large tableau report that has a huge iframe. In order to capture the full screen I need to zoom out. With a regular url pages the following code work perfectly,...

View Article


webdrivermanager TypeError

Trying to use webdrivermanager for seleniumI am using python version 2.7.13.I am running a backing setup for setting up webdriver as explained in the docs.from selenium import webdriver from...

View Article


How to take text from an HTML element which uses a custom attribute?

I am working on Selenium framework 2.0 Web driver and I would like to get value from a span which has a attribute like data-automation-id. The HTML code is as below<span...

View Article

Clearing a html input box using selenium

I am trying to clear an input on indeed but the clear() function is not working. Any ideas on how to clear the input box? from selenium import webdriver driver = webdriver.Chrome()...

View Article

If Selenium driver does not find Element ( If - else if) move on, yet it...

Long story short - I have a button that doesn't have ID's and has a compound class( So selenium hates it / cant find it). So I use the XPath selector for it that works great...

View Article


Skipping TR elements when using selenium python

I am using selenium python to scrape a webpage. I want to skip the first two TR elements in the table because they are the header and titles. Is there a way in Selenium or a pythonic way to skip the...

View Article

Handling Windows authentication with Selenium Webdriver

Selenium Webdriver based test in C# must login with windows authentication. I have tried a couple of approaches: _Driver.SwitchTo().Alert(); _Driver.FindElement(By.Id("UserName")).SendKeys("LynnTest");...

View Article

How to find element to click button in Python selenium?

HTML:<input class="loginButton fieldSpacing" onclick="loginBtnDisable();ajaxSubmitLogin()" value="Submit" style="cursor:pointer;text-align: center;" onkeypress="return loginTabEnter(this,event)">...

View Article


Selenium - Using wildcards in xpath

Is there 1 xpath expression that can cover all below://center/b[contains(string(), 'New password')] //center/h3[contains(string(), 'Renaming user ID')] //h3/center[contains(string(), 'Updating Email...

View Article


Not able to select drop-down option using select : UnexpectedTagNameException...

I apologize if I am doing very basic mistake, i am still new learning webdriver and python.I am trying to select an option from dropdown using Select Class of python, but i am getting Unexpected...

View Article

scrape twitter with python tweet selenium

I searched Google for extracting a number from a site page . I have modified the codeUsed regex + Automatic scrollPhones = re.findall (r'5 [\ d] {8} ', doc)Example: 500000000The number starts at 5 and...

View Article

Getting URL from text file using BeautifulSoup

How can I get urls from .txt file BeautifulSoup? I'm new to web scrap. I want to make multiple pages of scrap, and I need to pull those pages from the txt file.import pandas as pd import requests from...

View Article

Null pointer exception when using extent report

I have two classes baseClass and TesCaseLoginPage. When i am trying to execute TesCaseLoginPage class without any Report/Logger (ExtentReport),Test case is getting pass. But when i am puttin extend...

View Article


Silverlight and Flex application automation using Selenium Webdriver

I am currently investigating how to automate silverlight and flex based applications using selenium webdriver. I read many blogs and many questions on Stack Overflow but still did not get the answer...

View Article

Unable to hide "Chrome is being controlled by automated software" infobar...

After updating Chrome to version 76, I cannot figure out how to hide the "Chrome is being controlled by automated software..." notification overriding some controls on the page.The latest stable...

View Article


selenium python dynamic dropdown menu

I want to fill form from a website automatically, everything goes well until I need to choose an option from dynamic dropdown menu.<div id="field_type_group" class="field trigger-option group0"...

View Article

Resizing browser windows to 50% of the screen using Selenium

Does anyone know of a way to resize 2 windows to 50% of the screen using Selenium? Or something similar if it can't do it. I'm using Python and Chromium but again, if there is something better I am...

View Article


Selenium Grid in Java: org.openqa.selenium.SessionNotCreatedException:...

I've wanted to write a Selenium Grid app in Java.Hub: selenium-server-standalone-3.141.59.jar on Windows 10 Node: selenium-server-standalone-3.141.59.jar on Linux DebianNode Firefox version: 60.6.1esr...

View Article

Cannot pass object instance from conftest.py to a test class

I am trying to create a session-scope fixture that creates and pass instance of the driver class for every single test class in my suite. I was expecting that the following code would work:import...

View Article

How to initialize Selenium driver for default web browser and os

In my program, We are creating selenium webdriver for firefox with linux operating system. I wanted to know if there is any way you can create the driver which will initalize for the default operating...

View Article
Browsing all 97750 articles
Browse latest View live


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