Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ..?
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.
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.