lettuce_webdriver icon indicating copy to clipboard operation
lettuce_webdriver copied to clipboard

Configure browser capabilities through YAML

Open danni opened this issue 11 years ago • 2 comments

Replace code configured webdrivers with a YAML config. Replace documentation with a standard initialize call.

YAML is neat because it makes it easier to set up multiple browser configs for running your tests, especially because YAML supports inheritance, so you can do a lot of defaulting.

This branch includes some fixes for the Django steps, and the onbeforeunload fix.

danni avatar Oct 01 '13 01:10 danni

So, having looked at this in depth. It looks non-trivial to make it work without jQuery. So we can either remove it completely, or just leave it there. If you don't have jQuery, it will become a no-op because the exception will be caught and ignored..

danni avatar Oct 08 '13 04:10 danni

See SHA: 42ebae34486eb04eb30494d41b9ecc2cfcaeb7a7 - I got fed up with not having JQuery Selectors available when writing tests using CSS selector steps, so I made a couple of utility functions to handle it. If you'd like to steal these, and incorporate them here, I think that would be a clear win.

npilon avatar Oct 11 '13 18:10 npilon