Forum Discussion

mkonkolowicz's avatar
mkonkolowicz
Occasional Contributor
13 years ago

Checking For Enabled Extensions (Chrome)

Hello,



I am trying to write a script which will interact with the chrome extensions page. As I understand, this is not possible through testcomplete due to the way chrome implements extensions & how TC implements itself as an extension...Basically an extension can't change the behaviour or know anything about how other extensions behave (in chrome). I was wondering if anyone was aware of any alternative approaches. In  the end I am trying to disable an extension & then check if it was re-enabled at a later date. 
  • Hi Maciej,



     Could you please eloborate the problem.. What exactly your are looking for?

  • Hi Maciej,


     


    Let me quote the Considerations for Web Testing article:


    For security considerations Chrome refuses all extensions to inject code into its internal pages (about:*, chrome:*). Because of that, internal pages, like the new tab page, the extension manager, the download manager, the history page and so on, are not accessible to TestComplete.


     


    You can use MSAA or UI Automation to try to get access to objects on the Extensions page. Please let us know your results.