News for hackers. Stuff that matters.
Re:Show HN: Interceptor – mock AJAX requests at the browser ... by Nashooo on Thursday May 03, 2018 @08:13AM (#16985226)
How usable is this in for example webdriverio tests?
Re:Show HN: Interceptor – mock AJAX requests at the browser ... by amitmb on Thursday May 03, 2018 @10:42AM (#16986449)
webdriverio tests are basically automation tests similar to selenium tests. Looking at FIREFOX PROFILE SERVICE(http://webdriver.io/guide/services/firefox-profile.html), it looks like you can only fire up the extensions, but not define actions like click or type. If that would have been the case, One could have intercepted the requests, defined their own response and have automated tests defined for an app/website. Have a look at the blog post to understand the proper use case.
Re:Show HN: Interceptor – mock AJAX requests at the browser ... by chatmasta on Thursday May 03, 2018 @01:10PM (#16987755)
Idk about FF, but I’ve zuccessfully loaded extensions into chrome selenium in the past. It doesn’t work with chrome headless AFAIK