By default bot should ignore errors, adding ignore command to all functions is really time consuming. This is where BAS needs to make changes. It is better to define a fail or stop command rather than modifying each block..really BAS Should do something so that Bot don't stop on minor errors.
How to access to iframe elements if cross domain blocked?
-
Hello guys,
I have multiple iframes from different domain origins.
I want to use vanilla JavaScript to read-write content of one element which is inside in the 3th iframe, looks like this:
html --> iframe(domain 1) --> iframe(domain 2) --> iframe(domain 3) --> element(need read-write)
How to do that, please? -
@GaG said in How to access to iframe elements if cross domain blocked?:
This is BAS forum. Whats your question regarding BAS?
I have multiple iframes from different domain origins.
I want to use vanilla JavaScript to read-write content of one element which is inside in the 3th iframe, looks like this:
html --> iframe(domain 1) --> iframe(domain 2) --> iframe(domain 3) --> element(need read-write)
How to do that WITH BAS, USE EXECUTE JAVASCRIPT please? -
@edamo71 said in How to access to iframe elements if cross domain blocked?:
How to do that WITH BAS, USE EXECUTE JAVASCRIPT please?
nothing!
https://wiki.bablosoft.com/doku.php?id=how_to_search_for_element&s[]=selector#frames