anchor.diff:          return "su - ${user} -c " + shlex.quote(cmd)
   
   
  -    def get_browser_call():
  -        """Returns the name of the browser binary as well as CLI options."""
  +    def launch_browser():
  +        """Launches the web browser with the correct options."""
           # Determine the name of the binary:
           pname = "${getName chromiumPkg.name}"
           if pname.find("chromium") != -1:
  
positive.code: 
      machine.wait_for_x()
  
      url = "file://${startupHTML}"
      machine.succeed(ru(f'ulimit -c unlimited; {get_browser_call()} "{url}" & disown'))
  
      if get_browser_call().startswith("google-chrome"):
          # Need to click away the first window:
          machine.wait_for_text("Make Google Chrome the default browser")
          machine.screenshot("google_chrome_default_browser_prompt")
          machine.send_key("ret")
  
      machine.wait_for_text("startup done")
      machine.wait_until_succeeds(
  
negative.code:         else:  # For google-chrome-beta and as fallback:
              binary = pname
          # Add optional CLI options:
          options = []
          major_version = "${versions.major (getVersion chromiumPkg.name)}"
          if major_version > "91":
              # To avoid a GPU crash:
              options += ["--use-gl=angle", "--use-angle=swiftshader"]
          options.append("file://${startupHTML}")
          # Launch the process:
          machine.succeed(ru(f'ulimit -c unlimited; {binary} {shlex.join(options)} & disown'))
          if binary.startswith("google-chrome"):
              # Need to click away the first window:
              machine.wait_for_text("Make Google Chrome the default browser")
              machine.screenshot("google_chrome_default_browser_prompt")
              machine.send_key("ret")
  
  
      def create_new_win():
  