1.

What is Marionette, how does it work and when should you use it?

Answer»

For Mozilla’s GECKO ENGINE, Marionette is the web automation DRIVER. In the test automation developers community, it is also famous as the Gecko Driver. Marionette can control both the chrome i.e. menus and functions or the content of the webpage loaded inside the browsing context, giving a high level of control and ability to replicate user actions. Along with performing actions on the browser, Marionette can also read the properties and attributes of the DOM

It has two modules, first is the server that accepts requests and executes and the second is a client to forward commands to the server.

We use Marionette to run UI tests in the Firefox browser. A test automation engineer should add its dependencies to the framework, import the required classes and call the methods to control the web PAGE. Marionette also RETURNS the status of commands executed on the browser which can help in verifying the authenticity of the actions performed.



Discussion

No Comment Found