Python Forum
Expose chrome extension buttons to Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expose chrome extension buttons to Python
#1
Does anybody knows how to expose chrome extension button and functionality to python code?

I have a PID of active chrome window and need to activate extension from Python code.
Reply
#2
you should use selenium to activate (click) the button.
see the web scraping tutorials on this forum, you can run through them quickly to get the basics you need.
Pay particular attention to the sections on selenium.
web scraping part 1
web scraping part 2
Reply
#3
(May-12-2020, 06:17 PM)Larz60+ Wrote: you should use selenium to activate (click) the button.
see the web scraping tutorials on this forum, you can run through them quickly to get the basics you need.
Pay particular attention to the sections on selenium.
web scraping part 1
web scraping part 2

Thank you for suggestions. But that is not what I am looking for at the moment. Selenium does not have access to control Chrome extensions. Extension buttons aren't rendered by html. All you can do and must with Selenium is only to load the extension into webdriver.

What I was looking for is the possibility to somehow manipulate some extension functionality from Python code which requires to figure out a work around.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating a Browser Extension using Python j49857 3 1,008 Feb-13-2024, 10:49 PM
Last Post: j49857
  How do I get rid of "Chrome is being controlled by automated test software"? jetBlack 2 12,876 Jul-21-2022, 08:31 AM
Last Post: Benjamin112
  Selenium/chrome console WiPi 4 5,909 Apr-12-2020, 11:45 AM
Last Post: WiPi
  Chrome instead of IE Friend 1 2,164 Feb-09-2020, 07:31 AM
Last Post: Larz60+
  Headless Chrome: How to login into a webpage? amandacstr 1 4,316 Feb-06-2020, 02:19 AM
Last Post: metulburr
  Interfacing Google Chrome & Python akornrumpf 5 4,097 Mar-16-2019, 10:20 PM
Last Post: Larz60+
  Cannot open Chrome gahhon 3 3,641 Jan-26-2019, 04:56 AM
Last Post: snippsat
  selenium - chrome crashes when chrome is running. RvBVakama 4 15,306 Dec-16-2018, 06:32 PM
Last Post: metulburr
  I Want To Download Many Files Of Same File Extension With Either Wget Or Python, eddywinch82 15 14,539 May-20-2018, 06:05 PM
Last Post: eddywinch82
  Alternatives to Chrome WebDriver? chisox721 4 7,197 Apr-23-2018, 06:24 PM
Last Post: chisox721

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020