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

Reusability of tests in TestNG

I would like to run some automated tests for testing a web application in which process workflows are handled.For the interfacing with the application itself I've written already a Page Object Model...

View Article


Image may be NSFW.
Clik here to view.

Get Value from Output Box using Selenium (Python)

I am trying to extract the text that is generated in a text box based on values I enter into another text box. I looked in the inspect element and there is no signs of the values at all, and the...

View Article


Selenium webdriver: Modifying navigator.webdriver flag to prevent selenium...

I'm trying to automate a very basic task in a website using selenium and chrome but somehow the website detects when chrome is driven by selenium and blocks every request. I suspect that the website is...

View Article

Can any one help me to find locator

Here is my Html:<div class="x-form-item " tabindex="-1" id="ext-gen118"><label for="ext-comp-1060" style="width:40px;" class="x-form-item-label" id="ext-gen119">Name:</label><div...

View Article

How to make selenium chromedriver consistently score high on recaptcha v3 demos

So I recently started testing selenium for some personal projects and one problem I ran into was being banned from some websites due to recaptcha v3 tests. I did some more research and found the...

View Article


How to get status code by using selenium.py (python code)

I am writing a selenium script by python, but I think I don't see any information about:How to get http status code from selenium Python code. Or I missing something. If anyone found that, please feel...

View Article

Unable to launch Opera using Python Selenium

I am trying to launch opera using python selenium libraries. But getting capabilities error.Codes I have tried:Code1:driver = webdriver.Opera() driver.get('https://www.google.com') Code2:driver =...

View Article

URL opening fails with Opera using python selenium library [duplicate]

I am unable to open URL using python selenium library on Opera browser.Codefrom selenium import webdriver from selenium.webdriver.opera.options import Options options = Options()...

View Article


TestNG Results Trend in Jenkins does not show failed tests or builds

As you can see, I have failed build which are not showing in the graph.I have searched the Internet but apparently I am the only one having this issue. Image of JenkinsThese are my dependencies in...

View Article


Select object on selenium's PageFactory

I know that you cannot initialize a Select object in PageFactory. I have been searching on the internet and have found only one possible answer, to use ElementLocatorFactory but did not have much...

View Article

Codeception undefined index: ELEMENT error

i am using Codeception for acceptance testing. On my local pc i have no problems to run the tests with selenium and chromedriver. Until 1 week, it works also fine at my git, but now, there comes this...

View Article

Image may be NSFW.
Clik here to view.

Get the previous and next page tables from pagination URL in Python

I'm trying to iteratively crawler the tables from each page on this website. With the code below I'm able to extract one page only: import requests import json import pandas as pd import numpy as np...

View Article

Rails Capybara not detecting vivsiblity of flex item

I am doing display: flex an element on button click and then display: none to the same element after some ajax calls. I am doing the integration testing for the same using Capybara with Selenium...

View Article


WebDriver.quit() : does it couse chrome.windows.onRemoved.addListener() to...

When I execute selenium test for my chrome extension, on WebDriver.quit() it is now causing that event chrome.windows.onRemoved.addListener() from that background script of my chrome extensions:Any...

View Article

Why does the browser close automatically after the tasks are executed when...

I'm starting to learn Ruby along with selenium and cucumber: I'm running on ubuntu and using Firefox as a browser Ubuntu: Description: Ubuntu 18.04.3 LTS Release: 18.04Firefox version: 72.0.1...

View Article


Browser.wait doesn't wait by given milliseconds

So I am having issue with browser.wait with using protractor, mocha and chai. Basically a simple script I have created is basically:var EC = protractor.ExpectedConditions; describe('Personal...

View Article

How to control webpage by Selenium on Python?

I'm working on a web page and I want to interact with it. I believe Selenium is the best option but I have no idea how to use it.The only step I have taken ispip install seleniumI'm getting errors...

View Article


starting with selenium, the call to open firefox fail [duplicate]

I am just starting to learn selenium for python. The first test example was:from selenium import webdriver from selenium.webdriver.common.keys import Keys # create a new Firefox session driver =...

View Article

How do i screenshot chrome browser when my tests fail and before the chrome...

I have ran this code and the screenshot gets captured after the chrome browser closes (@After) If i comment out CloseBrowser(); the screenshot gets captured but the chromebrowser stay open. I want the...

View Article

Image may be NSFW.
Clik here to view.

Unable to access elements from profile preview page- Webscraping Selenium Python

Im unable to access the "view profile" element from the preview page opened while scraping the sciencedirect website using selenium in python. Is there any way to access the elements in the preview...

View Article
Browsing all 97756 articles
Browse latest View live


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