B2G/QA/Automation/Style Guide/Howtos: Difference between revisions

→‎How-Tos: add content
(howto subpage)
 
(→‎How-Tos: add content)
Line 40: Line 40:
* [http://www.w3.org/TR/css3-selectors/ W3]
* [http://www.w3.org/TR/css3-selectors/ W3]
* [http://www.cheat-sheets.org/saved-copy/Locators_table_1_0_2.pdf Locator Cheat Sheet]
* [http://www.cheat-sheets.org/saved-copy/Locators_table_1_0_2.pdf Locator Cheat Sheet]
== Handling shadow DOM ==
TBD - njpark
== Switching frames and system frame ==
TBD - mwargers
== Handling browser instances  ==
TBD - mwargers
== Returning the page object after completing an action ==
TBD - njpark
When writing methods that is doing some action on the device, for instance opening an app or opening a subpage, make sure that the resulting action is finished and return the object of the resulting action, e.g. the app or the subpage (PageRegion)
352

edits