def Create(self): backend = desktop_browser_backend.DesktopBrowserBackend( self.finder_options.browser_options, self._local_executable, self._flash_path, self._is_content_shell, self._browser_directory, output_profile_path=self.finder_options.output_profile_path, extensions_to_load=self.finder_options.extensions_to_load) return browser.Browser(backend, self._platform_backend)
def Create(self): if self._flash_path and not os.path.exists(self._flash_path): logging.warning( 'Could not find Flash at %s. Continuing without Flash.\n' 'To run with Flash, check it out via http://go/read-src-internal', self._flash_path) self._flash_path = None backend = desktop_browser_backend.DesktopBrowserBackend( self.finder_options.browser_options, self._local_executable, self._flash_path, self._is_content_shell, self._browser_directory, output_profile_path=self.finder_options.output_profile_path, extensions_to_load=self.finder_options.extensions_to_load) return browser.Browser(backend, self._platform_backend)
def Create(self): if self._flash_path and not os.path.exists(self._flash_path): logging.warning( 'Could not find Flash at %s. Continuing without Flash.\n' 'To run with Flash, check it out via http://go/read-src-internal', self._flash_path) self._flash_path = None self._InitPlatformIfNeeded() backend = desktop_browser_backend.DesktopBrowserBackend( self.finder_options.browser_options, self._local_executable, self._flash_path, self._is_content_shell, self._browser_directory, output_profile_path=self.finder_options.output_profile_path, extensions_to_load=self.finder_options.extensions_to_load) return browser.Browser(backend, self._platform_backend, self._archive_path, self._append_to_existing_wpr, self._make_javascript_deterministic, self._credentials_path)