extensions: Ability to click browser action buttons
See original GitHub issueWe are relying on puppeteer to automate testing of our extension. I can automate most things except I cannot click the button that our extension adds to the browser’s toolbar.
Could there be an API to interact with browser action buttons?
Something to the tune of
let actionButtons = await browser.actionButtons();
await actionButtons[0].click();
would be great.
This will allow us to fully automate testing of our extension workflow. Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:253
- Comments:22 (5 by maintainers)
Top Results From Across the Web
browser_action - Mozilla - MDN Web Docs
A browser action is a button that your extension adds to the browser's toolbar. The button has an icon, and may optionally have...
Read more >chrome.browserAction - Chrome Developers
If a browser action has a popup, the popup appears when the user clicks the extension's icon. The popup can contain any HTML...
Read more >Browser extensions: page action or browser action?
But if your action is not specific to a website but to all the websites then you use browserAction s which appear on...
Read more >Detect a button click in the browser_action form of a Google ...
Clicking extension button with browser window opened to exampley.com ... won't be able to see any console.log in your main Chrome window.
Read more >Browser extensions - Popup page modifications - Daily Dev Tips
Modifying the active tab through a browser popup extension. ... but what if we want that action to only happen when we click...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
High Demand Here! High Demand!
High demand.