Even though RDP is not really intended to be used by external tools, people can still use it to automate Firefox and potentially use it for scraping purposes. Websites can normally detect automation tools & scrapers by checking the navigator.webdriver. We might have to enable this as soon as the DevTools server accepts a remote debugging connection. This will have the side effect that legitimate remote debugging (eg testing a website on Firefox for Android) will also be detected as automation from the website's point of view. But it's apparently what happens for Chrome as soon --remote-debugging-port is passed. Similarly this will also impact 3rd party tools which use RDP for DevTools-like purposes such as the VSCode plugin. We should first check the current behavior of other browsers to verify that they enable navigator.webdriver in remote debugging scenarios.
Bug 1720838 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Even though RDP is not really intended to be used by external tools, people can still use it to automate Firefox and potentially use it for scraping purposes. Websites can normally detect automation tools & scrapers by checking the navigator.webdriver property. We might have to enable this as soon as the DevTools server accepts a remote debugging connection. This will have the side effect that legitimate remote debugging (eg testing a website on Firefox for Android) will also be detected as automation from the website's point of view. But it's apparently what happens for Chrome as soon --remote-debugging-port is passed. Similarly this will also impact 3rd party tools which use RDP for DevTools-like purposes such as the VSCode plugin. We should first check the current behavior of other browsers to verify that they enable navigator.webdriver in remote debugging scenarios.