How a BDD framework could work

1a. Cucumber for Java looks for step definitions in the Java projects and executes them in the order specified in the .feature files.
1b. Cucumber for Ruby looks for step definitions in the Ruby projects and executes them in the order specified in the .feature files.
2a. Selenide (Java) method calls are translated into Selenium method calls. Selenium method calls result in HTTP requests sent to an instance of a webdriver server using the Selenium Wire Protocol
2b. Watir (Ruby) method calls are translated into Selenium method calls. Selenium method calls result in HTTP requests sent to an instance of a webdriver server using the Selenium Wire Protocol
3. Each driver communicates with an instance of the browser they drive in a way specific to it

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s