original_docstring: 
          Types value in input element which matches selector.
  
          :param selector: an element selector
          :param value: the value to type into an input
          :raise CrawlerNotRunningError: if the crawler is not running
          :raise NoSuchElementError: if there is no element matching selector
          
docstring: Types value in input element which matches selector.
docstring_tokens: Types value in input element which matches selector .
code: def type(self, selector: str, value: str) -> None:
          """
          Types value in input element which matches selector.
  
          :param selector: an element selector
          :param value: the value to type into an input
          :raise CrawlerNotRunningError: if the crawler is not running
          :raise NoSuchElementError: if there is no element matching selector
          """
  
          self._check_if_crawler_running()
  
          try:
              syncer.sync(self._page.querySelectorEval(selector, f'element => element.value = {json.dumps(value)}'))
          except ElementHandleError:
              raise NoSuchElementError(selector)
code_tokens: def type ( self , selector : str , value : str ) -> None : self . _check_if_crawler_running ( ) try : syncer . sync ( self . _page . querySelectorEval ( selector , f'element => element.value = {json.dumps(value)}' ) ) except ElementHandleError : raise NoSuchElementError ( selector )
short_docstring: Types value in input element which matches selector.
short_docstring_tokens: Types value in input element which matches selector .
comment: """
          Types value in input element which matches selector.
  
          :param selector: an element selector
          :param value: the value to type into an input
          :raise CrawlerNotRunningError: if the crawler is not running
          :raise NoSuchElementError: if there is no element matching selector
          """