WebDriver/Marionette: Difference between revisions

Line 83: Line 83:
     python runtests.py <path to file>
     python runtests.py <path to file>


This test currently runs for testing Fennec and Firefox. You can run this test in B2G, but you won't be able to navigate to a page yet. It connects with the server, starts a session (which generates a new tab in firefox), opens the given webpage, finds the given element and asserts that the text is as expected and lastly creates a click action on the object. This is an example of how Marionette can be used to drive user actions on a page.  
This test currently runs for testing Fennec and Firefox. You can run this test in B2G, but you won't be able to navigate to a page yet.  
 
This test connects with the server, starts a session (which generates a new tab in firefox), opens the given webpage, finds the given element and asserts that the text is as expected and lastly creates a click action on the object. This is an example of how Marionette can be used to drive user actions on a page.  


Marionette can also communicate with emulators. The following is a  
Marionette can also communicate with emulators. The following is a  
Confirmed users
561

edits