Method: Playwright::Page#unroute

Defined in:
lib/playwright_api/page.rb

#unroute(url, handler: nil) ⇒ Object

Removes a route created with [‘method: Page.route`]. When `handler` is not specified, removes all routes for the `url`.



1737
1738
1739
# File 'lib/playwright_api/page.rb', line 1737

def unroute(url, handler: nil)
  wrap_impl(@impl.unroute(unwrap_impl(url), handler: unwrap_impl(handler)))
end