Questions tagged [geckodriver]

GeckoDriver is Mozilla's WebDriver implementation for the Firefox web browser, and works best with Firefox versions 48 and onwards.

Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers.

This program provides the HTTP API described by the WebDriver protocol to communicate with Gecko browsers, such as Firefox. It translates calls into the Marionette automation protocol by acting as a proxy between the local- and remote ends.

See also:

1443 questions
0
votes
0 answers

When I use Pycharm run a python file(in fact it is my first use), always report error, for example:

environment: mac osx 10.11.2, python 2.7, selenium-3.0.0.b2, firefox 45 I just create a python file and run , code is /** from selenium import webdriver import time dr = webdriver.Firefox() time.sleep(5) print 'Browser will be…
任思豪
  • 21
  • 2
0
votes
1 answer

Unable to launch firefox48 with custom profile using geckodriver

Expected Behavior - geckodriver should be able to launch Firefox48 with custom profile Step to reproduce - 01: Zip default profile folder 02: Getting default profile location string prof =…
Malik
  • 31
  • 4
0
votes
0 answers

How to get source code from getBrowserForDocument()

I am developing customized gecko browser. How to get source code of visited page from the given below code. function onPageLoad(event) { let contentDocument = event.target; let browser = BrowserApp.getBrowserForDocument(contentDocument); …
fazil tm
  • 299
  • 1
  • 5
  • 23
0
votes
2 answers

Get browser version using Selenium WebDriver and Ruby

Trying to extract the browser version without making a system call. Below is my Ruby code. #!/usr/bin/env ruby require "selenium-webdriver" # Tell the Ruby bindings to use Marionette. # This will not be necessary in the future, # when Selenium…
-1
votes
1 answer

Unable to locate element - Selenium Cookies

My Code: #Open Website profile_path = r'C:\Users\XXX\AppData\Local\Mozilla\Firefox\Profiles\ndefault-release' options = Options() options.binary_location = r'C:\Program Files\Mozilla Firefox\firefox.exe' …
Natrium2
  • 83
  • 7
-1
votes
1 answer

InvalidArgumentException: Message: unknown variant `wheel` error using scroll_to_element function from ActionChains with Selenium Python

I tried to scroll down to the element of the page by using following code: # coding=utf-8 from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains driver =…
-1
votes
1 answer

How to use selenium.webdriver.firefox.options?

The goal is to automate the web browser to start with a specific window size. I've tried two implementations. Implementation with chromedriver does the job, while the implementation with geckodriver fails. To be precise, both implementations start…
Boris L.
  • 936
  • 2
  • 12
  • 28
-1
votes
2 answers

Scraping non-interactable table from dynamic webpage

I've seen a couple of posts with this same question but their scripts usually waits until one of the elements (buttons) is clickable. Here is the table I'm trying to scrape: https://ropercenter.cornell.edu/presidential-approval/highslows First…
-1
votes
1 answer

How can i get network and endpoint info in firefox with selenium java?

i want get network information from firefox with selenium. I did it with chrome driver, like this logPrefs.enable( LogType.PERFORMANCE, Level.ALL ); ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.setCapability("goog:loggingPrefs",…
user15415647
-1
votes
1 answer

Which version of Firefox (geckodriver) is best of selenium 3.141.0?

I've been trying to get selenium to work on my Raspberry Pi 4 for a while now but I'm continuously getting this error when running it normally with geckodriver 0.23.0 ( 2018-10-04 ): selenium.common.exceptions.SessionNotCreatedException: Message:…
-1
votes
1 answer

Do I need geckoDriver if I am using selenium standalone service in wdio.conf.ts?

I am using web driver IO for testing. Parallel execution is working as expected. I was wondering Do I need a GeckoDriver in my root folder if i am using Selenium standalone service to run test in firefox? Please find the screenshot below:
mehak
  • 21
  • 4
-1
votes
2 answers

Unable to control structlog using logging

I'm unable to disable logging which is by default turned on via structlog Here's my code below: Input file contain: 5418531366 5418531367 import asyncio import pathlib import sys from arsenic import get_session, errors from arsenic.browsers import…
-1
votes
2 answers

What is the difference between Selenium Webdriver and GeckoDriver?

I use Selenium every 5 years or so and everytime it has changed beyond recognition. I just started a new Selenium project, googled some quickstart guides such as https://www.toolsqa.com/selenium-webdriver/run-selenium-test/ (written in September…
d-b
  • 695
  • 3
  • 14
  • 43
-1
votes
1 answer

Why can't run geckodriver in selenium?

Download chromedriver and extract it. from selenium import webdriver driver = webdriver.Chrome(executable_path='/home/debian/Downloads/chromedriver') It works fine. Now to test geckodriver for firefox,my firefox version is 78.0.2 (64-bit),the…
showkey
  • 482
  • 42
  • 140
  • 295
-1
votes
1 answer

Python Selenium is not opening the link

Python Selenium is opening a tab but not the link as shown in the given image The issue is that when I run it in Linux, it does not open the link as shown in this image terminal:- here you go Thanks for your time