Headless Chrome
Hello, I've been using this crate for a while now. It is really great, thank you.
However, I've reached a point where I need to run the browser headless. Chrome has the --headless flag, but apparently we need to pass it to selenium too: https://blog.miguelgrinberg.com/post/using-headless-chrome-with-selenium
Is there anyway to do this?
@tiberiusferreira Hi, can you open the browser and start typing,selecting,checking,choosing as you do with other binding?
Hello, sorry for the delay. I actually got it to work by doing some ugly patching for my use case here: https://github.com/tiberiusferreira/selenium-rs/commit/751285834f2d2534c9e1a709caee2fb04b2de477
I also added the ability to take screenshots: https://github.com/tiberiusferreira/selenium-rs/commit/03552a6b2bebe6c92d007ea925a2fd5f26004c76
Unfortunately I did not have time yet to make it properly and open a PR here.
@tiberiusferreira Could you please PR this?