selenium-webdriver Questions

10

I'm using Selenium WebDriver for Python. I want instantiate the browser with a specific width and height. So far the closest I can get is: driver = webdriver.Firefox() driver.set_window_size(1080,8...
Melany asked 13/3, 2013 at 22:10

7

I'm trying to get browser network logs using selenium to debug request/responses. Could you please help me to find out a way. And I'm using selenium 3.14.0 and latest Chrome browser.
Portrait asked 13/11, 2018 at 17:49

5

Solved

I have been using selenium for automatic browser simulations and web scraping in python and it has worked well for me. But now, I have to run it behind a proxy server. So now selenium open up the w...
Wootan asked 1/8, 2013 at 8:28

3

Solved

I found the is_visible method in the Selenium documentation, but I have no idea how to use it. I keep getting errors such as is_visible needs a selenium instance as the first parameter. Also, what ...
Nealneala asked 10/4, 2013 at 22:57

10

Solved

I am quite new to python selenium and I am trying to click on a button which has the following html structure: <div class="b_div"> <div class="button c_button s_button&quo...
Ragnar asked 25/1, 2014 at 12:36

1

I installed pytest-django and selenium in Django as shown below. pip install pytest-django && pip install selenium Then, I created pytest.ini, test_1.py and __init__.py(Empty file) in test...
Trainbearer asked 5/9, 2023 at 2:12

5

Solved

How can I set up a Selenium Python environment for Firefox? I am using Firefox 50, Selenium 3, Python 3.5. I tried with many things binary and copying the geckodriver in the environment variable PA...

9

I ran into a problem while working with Selenium. For my project, I have to use Chrome. However, I can't connect to that browser after launching it with Selenium. For some reason, Selenium can't fi...
Fredenburg asked 24/11, 2011 at 10:57

35

Solved

I am using selenium with python and have downloaded the chromedriver for my windows computer from this site: http://chromedriver.storage.googleapis.com/index.html?path=2.15/ After downloading the z...

18

Solved

I'm working on a python script to web-scrape and have gone down the path of using Chromedriver as one of the packages. I would like this to operate in the background without any pop-up windows. I'm...

4

Solved

With Chrome you can add options when creating the driver. You just do options = Options() options.headless = True driver = webdriver.Chrome(PATH\TO\DRIVER, options=options) But for some reason whe...

8

Solved

I am running this code with python, selenium, and firefox but still get 'head' version of firefox: binary = FirefoxBinary('C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe', log_file=sys.stdo...

1

I've written python selenium script on Django framework. Now I have no clue how can I run the test case using browser. I can execute the test case through terminal. Now I need to execute the same t...
Shamrock asked 19/10, 2019 at 8:31

5

Solved

I'm developing an application that uses selenium. OS: macOS with Apple Silicon Language: Kotlin JDK: Java 18 But it fails. Output Starting ChromeDriver 105.0.5195.19 (b9c217c128c16f53d12f9a02933f...

4

Solved

I'm encountering an error while executing Python code with Selenium. The problem appears to be related to the version of Chrome I'm using. I've upgraded Chrome from version 114 to the latest stable...
Angeli asked 23/8, 2023 at 2:42

17

I have an ubuntu server having the UI as well. U can execute the test cases by firing mvn test command. But the problem is when I do ssh of the machine through the terminal from another machine I g...

8

Solved

I'm new to programming and started with Python about 2 months ago and am going over Sweigart's Automate the Boring Stuff with Python text. I'm using Spyder 3 and already installed the selenium modu...

11

Solved

I'm trying some stuff out with selenium, and I really want my script to run quickly. I thought that running my script with headless Chrome would make it faster. First, is that assumption correct, o...

2

Solved

I got hit by this issue with setting up the webdrivers. I had to update my Chrome to 116.0.5845.97. This is how my maven looks like : <dependency> <groupId>org.seleniumhq.selenium</...
Kinch asked 18/8, 2023 at 1:3

1

Solved

For the last day or so I've started seeing my Laravel Dusk tests fail on my CI/CD environment (GitHub Actions). Suddenly, running the command that had been working fine all this time: php artisan d...
Cruise asked 25/8, 2023 at 23:18

2

I have a Azure DevOps CI release that runs a massive number of selenium tests on the same server at the same time. Typically it works great, but occasionally my selenium test task will timeout due ...
Aftereffect asked 7/5, 2020 at 16:59

0

I am trying to download chrome in my dockerfile so that I can run a selenium script with chromedriver. I am trying the following code: # Adding trusting keys to apt for repositories RUN wget -q -O ...

7

I'm trying to Automate a web application selenium 2.0 [webdriver+java].The web application is currently deployed in our UAT servers on our local network.My test cases are executing, but I have to m...
Minivet asked 6/7, 2017 at 5:56

6

Is there an option to export recorded test script to Java/JUuit(similar to slenium IDE) in Katalon studio? Because the application I'm working on is compatible only with IE; so I couldn't use selen...

1

The NuGet package Selenium.PhantomJS.WebDriver, on building the project, it copies PhantomJS.exe to the bin folder. With classic .Net it works very well. The problem is that with .NetCore this doe...
Diestock asked 10/2, 2017 at 17:48

© 2022 - 2024 — McMap. All rights reserved.