Questions tagged [selenium]
The selenium tag has no summary.
21 questions
0
votes
0
answers
330
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 ...
0
votes
1
answer
493
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 ...
1
vote
0
answers
344
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 ...
1
vote
0
answers
807
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 ...
3
votes
0
answers
2k
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
1k
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]....
0
votes
1
answer
2k
views
Is there a lightweight tool for web browsing automation from the 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 ...
4
votes
3
answers
6k
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 =...
0
votes
0
answers
434
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 ...
0
votes
2
answers
8k
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 ...
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 ...
0
votes
1
answer
909
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>
...
0
votes
1
answer
515
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 ...
4
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 ...