2022 Developer Survey is open! Take survey.

Questions tagged [selenium]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

M1 Mac: java.lang.ExceptionInInitializerError at cucumber.deps.com.thoughtworks.xstream.XStream.setupConverters(XStream.java:820)

I am trying to run an automation test by launching the Chrome browser using the chrome driver. Setup: Chip: Apple M1 Pro OS: macOS Monterey JDK: jdk-18.0.1.1.jdk Maven: Apache Maven 3.8.5 IntelliJ ...
user avatar
  • 1
0 votes
0 answers
16 views

error while getting text from font tag using selenium [closed]

I am using Java to automate a process on a wepage with selenium. I have the following line of code to get a text inside a font tage: var elem = driver.findElement(By.xpath("/html/body/uni-app/uni-...
user avatar
0 votes
0 answers
20 views

Virtual Display but with GPU/Hardware Acceleration

To do some automated screen recordings for promo videos of web applications I'm using chromium/selenium inside of xvfb to run the web application and ffmpeg to record the video. Even tough this looks ...
user avatar
  • 101
0 votes
0 answers
70 views

How to fix trace trap / SIGTRAP when running google-chrome in Debian

having an issue running that's driving me crazy and would love to have some help debugging. Basically, I'm trying to install Google Chrome on Debian stretch for use with selenium and, while the ...
user avatar
0 votes
1 answer
166 views

updating selenium on ubuntu?

I'm running selenium on linux (ubuntu) but I beleive it is an old version. Can someone tell me whether there's an easy way to update selenium on ubuntu using command line? I couldn't find anything ...
user avatar
0 votes
1 answer
154 views

How to save the output of linux command to a file in local

I have SSH to a server and have a syslog at usr/local. I am using the command tail -f syslog.log | grep fps and want to save the output of it to a file. I have tried to SCP as below % scp root@10.211....
user avatar
0 votes
1 answer
151 views

Is there a lightweight tool for web-browsing automation from terminal?

I'm aware of Selenium python library or headless chromium webdriver but those solutions are heavy and clunky to interface from a shell session (bash, dash, etc). Is there a minimal and lightweight ...
user avatar
0 votes
0 answers
28 views

Automating Task on Youtube Studio using selenium

I am trying to share several youtube videos in private mode. How to use selenium to automate this task if sharing is to the same email ids?
user avatar
  • 1
3 votes
2 answers
3k views

connection refused (os error 111) using python selenium & geckodriver

i am quit new to webscraping, i am building a personal app with python on debian buster and firefox geckodriver as follow, the server is online firefox_binary = FirefoxBinary('/usr/bin/firefox') opts =...
user avatar
  • 33
0 votes
0 answers
155 views

Pulseaudio record multiple xfbv screens with python

I’m trying to do something complicated and I need some help. I’m able to record a session (video and audio) with python using xvfb and ffmpeg. I just want to visit a page using selenium and record the ...
user avatar
0 votes
0 answers
28 views

Seelnium crashes since RAM is not enough... but what is RAM used for?

We run Selenium (JAVA) with headless Chrome. This all takes about 300 MB RAM. VPS has 1 GB RAM but selenium "crushes": Exception in thread "pool-1-thread-115" org.openqa.selenium....
user avatar
0 votes
2 answers
4k views

Run Selenium Python script without headless mode on Linux Server

I have a script that I want to run on Linux server That script downloads CSV file from amazon after log in. I have achieved the goal with Chrome web driver (Chromium) using selenium in Python. My ...
user avatar
  • 101
0 votes
1 answer
3k views

How to schedule to run testng.xml file on terminal on linux environment?

I have scripted a Selenium automation testcase. I have generated the testng.xml file which should be executed on the linux terminal at a particular time of my need. Say I want to schdule to execute ...
user avatar
0 votes
1 answer
590 views

How to turn off a browser's traffic compression on Linux?

I'm using selenium to scrap a website on a Linux server with no display(Xvfb) running Debian 9 OS(Google Compute Engine). But, the website returns following body: <html><head> ...
user avatar
0 votes
1 answer
456 views

Ruby Selenium-Webdriver

I tried to install Ruby selenium-webdriver but I got this error: sudo gem install selenium-webdriver [sudo] password for sam: Building native extensions. This could take a while... ERROR: Error ...
user avatar
  • 1
1 vote
1 answer
2k views

How to get private IP address of EC2 after spinning the AWS from local machine/ at Jenkins outside AWS

Assume we already spin the AWS using cloudformation plugin from Jenkins outside AWS and now, how to get private IP address after spinning the AWS at my local machine/jenkins using any API methods? I ...
user avatar
2 votes
1 answer
57 views

How to securely automate periodic website logins

I'm writing a webpage-monitoring program that, every hour, logs in to a website using Selenium and notifies me if the page has changed in a particular way. For example, this program can monitor my ...
user avatar
7 votes
4 answers
23k views

Error when executing headless firefox through Selenium

I am trying to execute headless firefox on the remote machine(running Ubuntu 16.04) through Selenium via SSH. However, this gives me a "Error: GDK_BACKEND does not match available displays" error. My ...
user avatar
  • 191
0 votes
1 answer
1k views

FreeBSD Selenium PhantomJS - Can not connect to the Service

i am stuck to run PhantomJS with selenium. So i have prepared a FreeBSD Jail and installed phantomjs via ports. whereis phantomjs > phantomjs: /usr/local/bin/phantomjs /usr/ports/lang/phantomjs /...
user avatar
  • 21
0 votes
1 answer
2k views

Installing Firefox on EC2 using Lambda Linux Project

I'm trying to set up a nodejs+selenium server on ec2. I got node installed and working and I tried to set up Firefox using the tutorial here: https://lambda-linux.io/blog/2015/01/28/announcing-...
user avatar
12 votes
4 answers
8k views

Have Bash script wait for status message before continuing

I'm firing up Selenium server with a bash script and as you can see from the timestamps on the log below, it takes about 32 seconds for the thing to fully come online: Feb 28, 2012 10:19:02 PM org....
user avatar
  • 477
8 votes
2 answers
1k views

Are there any good tools besides SeleniumRC that can fetch webpages including content post-painted by JavaScript?

One major shortcoming of curl is that more and more wepages are having their main piece of content painted by a JavaScript AJAX response that occurs after the initial HTTP response. curl never picks ...
user avatar
  • 3,777