1
0

README 2.6 KB

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