driver.switchTo().defaultContent();
driver.switchTo().frame("work");
Switching only goes down the chain, if you need a sibling frame you have to go back to the top frame and go back down again.
-Luke
> --
> You received this message because you are subscribed to the Google Groups "webdriver" group.
> To post to this group, send email to webd...@googlegroups.com.
> To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
>
Bhaskar
> To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
--Thanks and RegardsBhaskarMob:07582604105
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/4_uKDLEGKBUJ.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.