LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2019, 01:13 PM   #1
brokenkeys
LQ Newbie
 
Registered: Jul 2019
Location: Croatia
Distribution: Artix, Archlinux, Xubuntu
Posts: 20

Rep: Reputation: Disabled
Headless Web Browser


Anyone knows if there is a "headless" web browser for bash where you
could for example simulate clicks at specific coordinates, or get html node object
at coordinates, get node data, insert text if node is input ..?

Thanks
 
Old 10-01-2019, 02:16 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
There are "command line" browsers such as curl, wget, lynx.

Anything that requires a GUI environment but needs to be run in background you can use Xvfb to run.

When I did a web search for the terms:
using xvfb to simulate web traffic

It returned one that talks about using Xvfb but that appeared specific to one product (Selenium). It did return other hits that might be helpful to you that talk about "headless" browsing tests.
 
1 members found this post helpful.
Old 10-01-2019, 03:11 PM   #3
brokenkeys
LQ Newbie
 
Registered: Jul 2019
Location: Croatia
Distribution: Artix, Archlinux, Xubuntu
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thanks, did not know about Xvfb.
Meanwhile, I've found this list:

https://github.com/dhamaniasad/HeadlessBrowsers
 
2 members found this post helpful.
Old 01-11-2022, 02:51 PM   #4
englianhu
LQ Newbie
 
Registered: Oct 2015
Location: Sςιβrοκεrs Trαdιηg®
Distribution: CentOS, Ubuntu
Posts: 12

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by brokenkeys View Post
Thanks, did not know about Xvfb.
Meanwhile, I've found this list:

https://github.com/dhamaniasad/HeadlessBrowsers
useful, thx~
 
Old 01-11-2022, 09:09 PM   #5
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
There is a Python library called Selenium that lets you do this, for automating browser stuff. I have not played with it myself but want to at some point for a project. Could look into that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Create flexible web content with a headless management system LXer Syndicated Linux News 0 05-17-2019 06:22 AM
LXer: Eolie Web Browser for GNOME - The Simplest Web Browser LXer Syndicated Linux News 0 09-28-2017 02:22 AM
Web browser not set to default even though it is the ONLY browser!?!?! dbc254 Linux Mint 1 12-07-2016 11:59 PM
[SOLVED] Light Weight Web Browser/File Browser CincinnatiKid Linux From Scratch 16 06-27-2012 01:37 PM
browser plugin for Konqueror web browser (linspire) Tracianddwayne Linux - Newbie 1 01-01-2005 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration