create account

Change iframes when using Senelium by python-dev

View this thread on: hive.blogpeakd.comecency.com
· @python-dev ·
$0.80
Change iframes when using Senelium
An iframe is used to embed HTML documents in other HTML documents. And iframe content can be changed without requiring the user to reload the surrounding page. The iframe HTML element is often used to insert content from same/another source, such as an advertisement, into a Web page. T

We cannot click on elements present in iframe directly. To click on an element inside an iframe using XPath or any other locator, we need to switch to the frame first and then click. All other operations like getText(), isEnabled() etc… follows the same procedure.

Step 1: Invoke browser and load web page
Step 2: Identify iframe using any locators
Step 3: Switch to iframe using switchTo method
Step 4: Act on elements inside iframe
Step 5: switch back to default content
👍  , , , , ,
properties (23)
authorpython-dev
permlinkchange-iframes-when-using-senelium
categorypython-dev
json_metadata{"tags":["python-dev"],"app":"steemit/0.2","format":"markdown"}
created2020-03-07 23:13:09
last_update2020-03-07 23:13:09
depth0
children0
last_payout2020-03-14 23:13:09
cashout_time1969-12-31 23:59:59
total_payout_value0.401 HBD
curator_payout_value0.401 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length761
author_reputation5,457,648,648,750
root_title"Change iframes when using Senelium"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id96,160,397
net_rshares4,005,232,868,430
author_curate_reward""
vote details (6)