0

I'm writing my first program and this is my first time here, I'm sorry if I'm not explaining something properly.

I want to use one extension the extension's shortcut is CTRL+SHIFT+A.

How can I simulate those clicks only to the Selenium Browser and not to the whole PC or the Element on the page (I want to be able to run the program in the background).

I've tried driver.find_element_by_tag_name('body').send_keys(Keys.CONTROL + 'a' + Keys.SHIFT) But I guess that doesn't work because it simulates keyboard presses to the body of the page and not to the browser, so the extension can't recognize it.

0 Answers0