1
0

README 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. *** NOTE: Most of the JSON Wire Protocol http://code.google.com/p/selenium/wiki/JsonWireProtocol
  2. *** has been implemented. This is still beta quality code.
  3. Perl Bindings for Selenium 2.0 Remote WebDriver
  4. This is a Perl Binding for Selenium 2.0 Remote WebDriver, which you
  5. should download from http://code.google.com/p/selenium; look for
  6. selenium-server-standalone.jar. This binding will not work with the
  7. 1.0 version of Selenium. Please use WWW::Selenium from CPAN if you're
  8. interested in 1.0 bindings.
  9. The unit tests provide various examples on how to invoke & use the module.
  10. INSTALLATION
  11. To install this module, run the following commands:
  12. perl Makefile.PL
  13. make
  14. make test
  15. make install
  16. UNIT TESTS
  17. This module uses LWP::Protocol::PSGI to facilitate unit
  18. tests. LWP::Protocol::PSGI overrides the LWP HTTP/HTTPS & this allows
  19. us to "mock" the interaction with WebDriver Server. In regular instances
  20. you should be running the tests against the mocked recording, which are
  21. stored in t/mock-recordings. If you want to run the tests live against
  22. the WebDriver server, set an environment variable WD_MOCKING_RECORD to
  23. 1. This will force the unit tests to run tests against the WebDriver
  24. server & also save the traffic (request/response) in t/mock-recordings.
  25. Either reset the environment variable or set it to 0 to revert to mocking
  26. the traffic.
  27. SUPPORT AND DOCUMENTATION
  28. After installing, you can find documentation for this module with the
  29. perldoc command.
  30. perldoc Selenium::Remote::Driver
  31. perldoc Selenium::Remote::WebElement
  32. Please file all bugs for this module at:
  33. https://github.com/aivaturi/Selenium-Remote-Driver/issues
  34. You can also find some supporting docs at:
  35. https://github.com/aivaturi/Selenium-Remote-Driver/wiki
  36. LICENSE AND COPYRIGHT
  37. Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
  38. Licensed under the Apache License, Version 2.0 (the "License");
  39. you may not use this file except in compliance with the License.
  40. You may obtain a copy of the License at
  41. http://www.apache.org/licenses/LICENSE-2.0
  42. Unless required by applicable law or agreed to in writing, software
  43. distributed under the License is distributed on an "AS IS" BASIS,
  44. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  45. See the License for the specific language governing permissions and
  46. limitations under the License.