--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-developers/-/v2WQe_MdMnQJ.
To post to this group, send email to selenium-...@googlegroups.com.
To unsubscribe from this group, send email to selenium-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-developers?hl=en.
$client = new Selenium\Client('http://localhost:4444/wd/hub');$session = $client->createSession(new Selenium\Capabilities('firefox'));$session->close();
You might want to have a look at how the Ruby bindings (and possibly the
Python bindings) are doing this. The Ruby bindings are currently
structured this way:
├── selenium
│ ├── client
│ ├── server.rb
│ ├── webdriver
│ │ ├── android
│ │ ├── chrome
│ │ ├── common
│ │ │ ├── action_builder.rb
│ │ │ ├── alert.rb
│ │ │ ├── driver.rb
│ │ │ ├── element.rb
│ │ │ ├── error.rb
│ │ │ ├── keyboard.rb
│ │ │ ├── keys.rb
│ │ │ ├── mouse.rb
│ │ │ ├── navigation.rb
│ │ ├── firefox
│ │ ├── ie
│ │ ├── iphone
│ │ ├── opera
│ │ ├── remote
│ └── webdriver.rb
├── selenium-client.rb
└── selenium-webdriver.rb
It implements the Selenium RC-related stuff in /selenium/client, and the
WebDriver/RemoteWebDriver implementations in /selenium/webdriver. IMO
it's a very well organized and structured set of bindings.
src└── Selenium├── Capabilities.php├── Client.php├── Message│ ├── Client│ │ ├── SessionCloseRequest.php│ │ ├── SessionCreateRequest.php│ │ └── SessionCreateResponse.php│ ├── ErrorResponse.php│ ├── Navigation│ │ ├── UrlGetRequest.php│ │ ├── UrlGetResponse.php│ │ └── UrlSetRequest.php│ └── Session│ ├── ScreenshotRequest.php│ ├── ScreenshotResponse.php│ ├── SourceRequest.php│ ├── SourceResponse.php│ ├── TitleRequest.php│ └── TitleResponse.php├── Navigation.php└── Session.php