code: def test_browser_use_remote_webdriver(tmpdir):
      # test creation with remote=True
      with pytest.raises(Exception):
          Browser(
              browser="Chrome",
              remote=True,
              remote_url=SELENIUM_GRID_DEFAULT,
              headless=True,
              options=None,
              download_path=tmpdir.mkdir("download").strpath,
              percy_finalize=True,
          )
  
      # test creation with remote_url other than default
      with pytest.raises(Exception):
          Browser(
              browser="Chrome",
              remote=False,
              remote_url="http://token@any.selenium.grid:3333",
              headless=True,
              options=None,
              download_path=tmpdir.mkdir("download").strpath,
              percy_finalize=True,
          )
  
imports: import pytest
  from dash.testing.browser import Browser
  from dash.testing.consts import SELENIUM_GRID_DEFAULT
label_desc: Use image node_id 2 for calling a global function with example usage: test_browser_use_remote_webdriver(tmpdir) without return types