1
0

README 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. dzil build
  13. dzil test
  14. dzil install
  15. UNIT TESTS
  16. This module uses LWP::Protocol::PSGI to facilitate unit
  17. tests. LWP::Protocol::PSGI overrides the LWP HTTP/HTTPS & this allows
  18. us to "mock" the interaction with WebDriver Server. In regular instances
  19. you should be running the tests against the mocked recording, which are
  20. stored in t/mock-recordings. If you want to run the tests live against
  21. the WebDriver server, set an environment variable WD_MOCKING_RECORD to
  22. 1. This will force the unit tests to run tests against the WebDriver
  23. server & also save the traffic (request/response) in t/mock-recordings.
  24. Either reset the environment variable or set it to 0 to revert to mocking
  25. the traffic.
  26. SUPPORT AND DOCUMENTATION
  27. After installing, you can find documentation for this module with the
  28. perldoc command.
  29. perldoc Selenium::Remote::Driver
  30. perldoc Selenium::Remote::WebElement
  31. Please file all bugs for this module at:
  32. https://github.com/aivaturi/Selenium-Remote-Driver/issues
  33. You can also find some supporting docs at:
  34. https://github.com/aivaturi/Selenium-Remote-Driver/wiki
  35. LICENSE AND COPYRIGHT
  36. Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
  37. Licensed under the Apache License, Version 2.0 (the "License");
  38. you may not use this file except in compliance with the License.
  39. You may obtain a copy of the License at
  40. http://www.apache.org/licenses/LICENSE-2.0
  41. Unless required by applicable law or agreed to in writing, software
  42. distributed under the License is distributed on an "AS IS" BASIS,
  43. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  44. See the License for the specific language governing permissions and
  45. limitations under the License.