You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
Hi, you're right, it doesn't work for SourceType.url. This is documented here #27 , specifically:
Calling any method that will interact with the page's source (i.e. call JS methods, callbacks, execute JS etc) from the controller only work when using SourceType.urlBypass or SourceType.html. This is because only in theese 2 situations the package can actually inject that JS code inside the page source. When using SourceType.url, iframe's content does not actually belong to us - it is loaded from a different domain so we're not allowed to do that.
It seems that embedded js content only works with HTML source type, but not URL source type (at least on web platform, didn't test on Android/iOS).
Test with HTML source type (on web platform):
=> I can see the "hello" message in the browser's console.
Test with URL source type (on web platform):
=> no message in console
The text was updated successfully, but these errors were encountered: