driving vimium c with selenium? #492
Replies: 2 comments 6 replies
-
Do you mean to send commands to Vimium C and let it do concrete tasks? Then what's the purpose of importing selenium? I mean, since most features of Vimium C can be accessed from just a keyboard, you may directly send WM-level keyboard events to a Chrome window, and then Vimium C will hook them and trigger its commands. =============== Now Vimium C can recognize and run a big command tree from a bookmark of However, such URLs can only work when you use Vimium C's commands like ============= As for the feasibility, some commands might require your browser is "focused", so I'm not sure whether it's possible or not to send shortcuts from a terminal. |
Beta Was this translation helpful? Give feedback.
-
And, since this feature is so far away from usages of a normal "web-extension", I won't write much code for this idea. |
Beta Was this translation helpful? Give feedback.
-
Hi! Love the extension, been using it for quite a while now, it has been real time saver in my workflow, thanks!
I'm having an exotic idea in mind, which is to try to drive chrome with emacs or WM (i3 in my case). To put in in other words, I'd like to use chrome, without actually touching the window itself - 90% of actions (clicking on links, scrolling, coping/inserting text) would be done by selenium, and I'd build necessary scripts and shortcuts to send commands to selenium. This is very similar in spirit to what
nyxt
browser offers, but with limited scope of functionality.I think it theoretically could be done if I were to combine vimium c together with selenium, tho I'm not yet sure how to do it. I'll attempt to sequence out the steps necessary to achieve it, however the list will not be complete because I miss an important link 🔗, which is how to talk to vimium from running selenium engine/chromedriver - I'm not very well versed on how chrome is put together so it's hard to me to figure how to hack around it... I'm hoping someone will be able to help me out here.
Steps:
do you think it would be possible to achieve with
Vimium inner URLs
?Beta Was this translation helpful? Give feedback.
All reactions