Release Notes¶
2.2.0 (2018-10-29)¶
Deprecations and Removals¶
- Removed PhantomJS support from Splinter driver due to removal in Splinter v0.9.0. (#93)
2.1.0 (2018-08-13)¶
Bugfixes¶
Replace use of
implprefixwithHookimplMarkerdue to deprecation.Existing PyPOM plugins will need to be updated to import the hookimpl and use it to decorate hook implementations rather than rely on the prefix of the function names.
Before:
def pypom_after_wait_for_page_to_load(page): pass
After:
from pypom import hookimpl @hookimpl def pypom_after_wait_for_page_to_load(page): pass (#90)
2.0.0 (2018-04-17)¶
- Added support for plugins.
- This introduces plugin hooks
pypom_after_wait_for_page_to_loadandpypom_after_wait_for_region_to_load. - In order to take advantage of plugin support you must avoid implementing
wait_for_page_to_loadorwait_for_region_to_loadin your page objects. - This was previously the only way to implement a custom wait for your pages and regions, but now means the calls to plugin hooks would be bypassed.
- Custom waits can now be achieved by implementing a
loadedproperty on the page or region, which returnsTruewhen the page or region has finished loading. - See the user guide for more details.
- This introduces plugin hooks
- Any unused
url_kwargsafter formattingURL_TEMPLATEare added as URL query string parameters.
1.2.0 (2017-06-20)¶
- Dropped support for Python 2.6
1.1.1 (2016-11-21)¶
- Fixed packaging of
pypom.interfaces
1.1.0 (2016-11-17)¶
- Added support for Splinter
- Thanks to @davidemoro for the PR
1.0.0 (2016-05-24)¶
- Official release