Directories
¶
| Path | Synopsis |
|---|---|
|
Command click is a chromedp example demonstrating how to use a selector to click on an element.
|
Command click is a chromedp example demonstrating how to use a selector to click on an element. |
|
Command console is a chromedp example demonstrating how to read the console of a page and its uncaught exceptions with chromedp.Console.
|
Command console is a chromedp example demonstrating how to read the console of a page and its uncaught exceptions with chromedp.Console. |
|
Command cookie is a chromedp example demonstrating how to set an HTTP cookie on requests.
|
Command cookie is a chromedp example demonstrating how to set an HTTP cookie on requests. |
|
Command dialogs is a chromedp example demonstrating how to handle the JavaScript dialogs of a page.
|
Command dialogs is a chromedp example demonstrating how to handle the JavaScript dialogs of a page. |
|
Command download_file is a chromedp example demonstrating how to do headless file downloads.
|
Command download_file is a chromedp example demonstrating how to do headless file downloads. |
|
Command download_image is a chromedp example demonstrating how to do headless image downloads.
|
Command download_image is a chromedp example demonstrating how to do headless image downloads. |
|
Command dragdrop is a chromedp example demonstrating how to drag and drop with the actions DragAndDrop and DragAndDropXY.
|
Command dragdrop is a chromedp example demonstrating how to drag and drop with the actions DragAndDrop and DragAndDropXY. |
|
Command emulate is a chromedp example demonstrating how to emulate a specific device such as an iPhone.
|
Command emulate is a chromedp example demonstrating how to emulate a specific device such as an iPhone. |
|
Command eval is a chromedp example demonstrating how to evaluate JavaScript and retrieve the result.
|
Command eval is a chromedp example demonstrating how to evaluate JavaScript and retrieve the result. |
|
Command eventsiter is a chromedp example demonstrating how to listen to the events of a page with iterators.
|
Command eventsiter is a chromedp example demonstrating how to listen to the events of a page with iterators. |
|
Command exposefunc is a chromedp example demonstrating how to call Go functions from a page with chromedp.ExposeFunc.
|
Command exposefunc is a chromedp example demonstrating how to call Go functions from a page with chromedp.ExposeFunc. |
|
Command extension is a chromedp example demonstrating how to install a browser extension, uBlock Origin Lite, into the browser that chromedp starts, and how to show that it blocks the ads of a page.
|
Command extension is a chromedp example demonstrating how to install a browser extension, uBlock Origin Lite, into the browser that chromedp starts, and how to show that it blocks the ads of a page. |
|
Command fast is a chromedp example demonstrating how to measure the speed of the internet connection and show the result in the terminal.
|
Command fast is a chromedp example demonstrating how to measure the speed of the internet connection and show the result in the terminal. |
|
Command forecast is a chromedp example demonstrating how to render the weather forecast of a city in the terminal.
|
Command forecast is a chromedp example demonstrating how to render the weather forecast of a city in the terminal. |
|
Command frames is a chromedp example demonstrating how to reach elements inside an iframe and inside a shadow root.
|
Command frames is a chromedp example demonstrating how to reach elements inside an iframe and inside a shadow root. |
|
Command geoip is a chromedp example demonstrating how to look up the location of an IP address and show its map in the terminal.
|
Command geoip is a chromedp example demonstrating how to look up the location of an IP address and show its map in the terminal. |
|
Command har is a chromedp example demonstrating how to generate a HAR file from the network events of a page.
|
Command har is a chromedp example demonstrating how to generate a HAR file from the network events of a page. |
|
Command headers is a chromedp example demonstrating how to add extra HTTP headers to browser requests.
|
Command headers is a chromedp example demonstrating how to add extra HTTP headers to browser requests. |
|
Command intercept is a chromedp example demonstrating how to block, mock and change the requests of a page with the Fetch domain.
|
Command intercept is a chromedp example demonstrating how to block, mock and change the requests of a page with the Fetch domain. |
|
internal
|
|
|
testsite
Package testsite is a local web site for the example programs.
|
Package testsite is a local web site for the example programs. |
|
Command keys is a chromedp example demonstrating how to send key events to an element.
|
Command keys is a chromedp example demonstrating how to send key events to an element. |
|
Command latlon is a chromedp example demonstrating how to retrieve the latitude and the longitude of a map from the URL of the page with the navigation events of the page.
|
Command latlon is a chromedp example demonstrating how to retrieve the latitude and the longitude of a map from the URL of the page with the navigation events of the page. |
|
Command logic is a chromedp example demonstrating how to combine actions and Go code in a function that reads a list from a page.
|
Command logic is a chromedp example demonstrating how to combine actions and Go code in a function that reads a list from a page. |
|
Command multi is a chromedp example demonstrating how to use headless-shell and a container (Docker, Podman, other).
|
Command multi is a chromedp example demonstrating how to use headless-shell and a container (Docker, Podman, other). |
|
Command pdf is a chromedp example demonstrating how to capture a PDF of a page.
|
Command pdf is a chromedp example demonstrating how to capture a PDF of a page. |
|
Command pdfoptions is a chromedp example demonstrating how to print a page to PDF files with different options of chromedp.PrintToPDF.
|
Command pdfoptions is a chromedp example demonstrating how to print a page to PDF files with different options of chromedp.PrintToPDF. |
|
Command pdfstream is a chromedp example demonstrating how to print a page to a PDF file with a stream.
|
Command pdfstream is a chromedp example demonstrating how to print a page to a PDF file with a stream. |
|
Command popups is a chromedp example demonstrating how to work with the popups of a page and with several targets.
|
Command popups is a chromedp example demonstrating how to work with the popups of a page and with several targets. |
|
Command proxy is a chromedp example demonstrating how to authenticate to a proxy server that requires authentication.
|
Command proxy is a chromedp example demonstrating how to authenticate to a proxy server that requires authentication. |
|
Command rawcall is a chromedp example demonstrating how to send protocol commands that chromedp has no action for.
|
Command rawcall is a chromedp example demonstrating how to send protocol commands that chromedp has no action for. |
|
Command remote is a chromedp example demonstrating how to connect to an existing Chrome DevTools instance using a remote WebSocket URL.
|
Command remote is a chromedp example demonstrating how to connect to an existing Chrome DevTools instance using a remote WebSocket URL. |
|
Command screencast is a chromedp example demonstrating how to record the screen of a page as a series of JPEG images.
|
Command screencast is a chromedp example demonstrating how to record the screen of a page as a series of JPEG images. |
|
Command screenshot is a chromedp example demonstrating how to take a screenshot of a specific element and of the entire browser viewport.
|
Command screenshot is a chromedp example demonstrating how to take a screenshot of a specific element and of the entire browser viewport. |
|
Command selectors is a chromedp example demonstrating how to choose the elements of a page with the typed selectors.
|
Command selectors is a chromedp example demonstrating how to choose the elements of a page with the typed selectors. |
|
Command session is a chromedp example demonstrating how to save the state of a session and restore it in another browser.
|
Command session is a chromedp example demonstrating how to save the state of a session and restore it in another browser. |
|
Command structeval is a chromedp example demonstrating how to evaluate JavaScript into typed Go values.
|
Command structeval is a chromedp example demonstrating how to evaluate JavaScript into typed Go values. |
|
Command submit is a chromedp example demonstrating how to fill out and submit a form.
|
Command submit is a chromedp example demonstrating how to fill out and submit a form. |
|
Command subtree is a chromedp example demonstrating how to populate and travel a subtree of the DOM.
|
Command subtree is a chromedp example demonstrating how to populate and travel a subtree of the DOM. |
|
Command tabs is a chromedp example demonstrating how to use several tabs of one browser.
|
Command tabs is a chromedp example demonstrating how to use several tabs of one browser. |
|
Command termcast is a chromedp example demonstrating how to stream the screen of the browser to the terminal with terminal graphics.
|
Command termcast is a chromedp example demonstrating how to stream the screen of the browser to the terminal with terminal graphics. |
|
Command text is a chromedp example demonstrating how to extract text from a specific element.
|
Command text is a chromedp example demonstrating how to extract text from a specific element. |
|
Command upload is a chromedp example demonstrating how to upload a file on a form.
|
Command upload is a chromedp example demonstrating how to upload a file on a form. |
|
Command visible is a chromedp example demonstrating how to wait until an element is visible.
|
Command visible is a chromedp example demonstrating how to wait until an element is visible. |
|
Command workers is a chromedp example demonstrating how to run many jobs at the same time in one browser with a pool of goroutines.
|
Command workers is a chromedp example demonstrating how to run many jobs at the same time in one browser with a pool of goroutines. |
Click to show internal directories.
Click to hide internal directories.