Questions tagged [selenium]

The tag has no usage guidance.

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

Limit the total CPU usage for the entire system?

I'm running a Chrome instance on a NAT VPS. Being a NAT VPS it has some restrictions such not not allowing a 15min average load greater than 1. However, just starting and going to a few webpages ...
DentFuse's user avatar
0 votes
0 answers
251 views

Chrome UI wouldn't display in selenium test

The issue is when I try to run a test with selenium in linux, the chrome ui does not appear, although I can see signs that the browser is active like the location where the browser should be getting ...
8bitdefault's user avatar
1 vote
0 answers
194 views

Selenium XVFB - Unable to receive message from renderer

Overview: Selenium scraper works perfectly in headless mode. Spawning a virtual display shows no errors via XVFB: from xvfbwrapper import Xvfb vdisplay = Xvfb() vdisplay.start() vdisplay.stop() But ...
Luke Hamilton's user avatar
1 vote
0 answers
371 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 ...
hypnomaki's user avatar
  • 111
2 votes
0 answers
1k 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 ...
Greg Gascon's user avatar
0 votes
1 answer
1k 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 ...
DiamondJoe12's user avatar
0 votes
1 answer
540 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 [email protected]....
Arup Bose's user avatar
0 votes
1 answer
1k 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 ...
Zeta.Investigator's user avatar
4 votes
3 answers
5k 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 =...
madj's user avatar
  • 43
0 votes
0 answers
290 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 ...
Eric Lagarda's user avatar
0 votes
0 answers
95 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....
Igor Savinkin's user avatar
0 votes
2 answers
6k 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 ...
Subham's 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 ...
Kasturi Rajamanikkam's user avatar
0 votes
1 answer
689 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> ...
Glad Born's user avatar
0 votes
1 answer
476 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 ...
sam's user avatar
  • 1
3 votes
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 ...
user176867's user avatar
2 votes
1 answer
64 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 ...
ConvexMartian's 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 ...
goluhaque's user avatar
  • 191
1 vote
1 answer
2k 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 /...
raxer's user avatar
  • 41
1 vote
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-...
user3091859's user avatar
12 votes
4 answers
9k 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....
Eric's user avatar
  • 487
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 ...
dan's user avatar
  • 4,017