blocking-proxy icon indicating copy to clipboard operation
blocking-proxy copied to clipboard

Allow setting sync scripts at run-time

Open heathkit opened this issue 9 years ago • 0 comments

Replace the setSynchronization API with something more sophisticated.

  • Allow users to specify which client-side blocking scripts to run with each webdriver command.
  • In addition to enabling/disabling scripts, allow changing the parameters (so Protractor can change rootEl)
  • Allow configuring the timeout for each script.
  • Potentially set a priority for the scripts, so they run in a defined order
  • Allow providing a path to the client side scripts as a command line option

This is needed for https://github.com/angular/protractor/issues/3857 and https://github.com/angular/protractor/issues/3858.

heathkit avatar Jan 04 '17 01:01 heathkit