HtmlrenderWebkitHeadlessProtoRenderResponse

AI Overview😉

  • The potential purpose of this module is to render a webpage in a headless browser environment (using WebKit) and extract various metadata and content from the page, such as the DOM tree, cookies, local storage, and rendered images. This module may be used to evaluate the quality of a webpage's rendering or to extract specific information from a webpage.
  • This module could impact search results by allowing Google to better understand the content and structure of a webpage, even if it uses complex JavaScript or other technologies that might make it difficult for a traditional crawler to render. This could lead to more accurate search results and a better user experience. Additionally, this module could be used to identify and penalize websites that use deceptive or manipulative tactics to game search engine rankings.
  • To be more favorable to this function, a website could ensure that its content is easily accessible and renderable by a headless browser, such as by using semantic HTML and avoiding overly complex JavaScript or other technologies that might make it difficult for the module to extract metadata and content. Additionally, a website could ensure that its cookies and local storage are properly configured and do not interfere with the module's ability to extract information. Finally, a website could optimize its images and other resources to ensure that they are properly rendered and extracted by the module.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 1

GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderResponse (google_api_content_warehouse v0.4.0)

See go/wrs-render-quality for how to evaluate the results. Next id: 24

Attributes

  • chromiumTrace (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoChromiumTrace.t, default: nil) - Contains chromium trace generated during page rendering. This is present if a chromium_trace_config was provided in the request.
  • cookie (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoCookie.t), default: nil) - Contents of the browser's cookie jar. (if cookies_enabled was set to true in the RenderRequest).
  • document (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoDocument.t, default: nil) - Contains the DOM tree, render tree and more. For details consult document.proto.
  • exceptionDetail (type: String.t, default: nil) - Provides extra debugging details when certain exception bits are set.
  • exceptions (type: String.t, default: nil) - Exceptions (possibly serious conditions) that occurred during this rendering. 0 means none. Bitfield encoding. See the RenderingException enum above for an explanation.
  • extensionResult (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderExtensionResult.t, default: nil) - Render extension results (if devtools_script was provided with the request.)
  • finalClientUrl (type: String.t, default: nil) - This field contains the final url as would appear in the web browser's address bar. Note that JavaScript can modify the contents of the location bar so this URL may not appear on the list of referenced resources. If we fail to follow a redirect this field will contain the URL that we failed to redirect to, not the last one we successfully loaded.
  • image (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoImage.t), default: nil) - Contains the viewport images rendered by webkit (if generate_image was set to true in the RenderRequest). Will also contain the print-mode images (if generate_print_mode_images was set to true).
  • localStorage (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoDOMStorageItem.t), default: nil) - Contents of the browser's local storage.
  • partialRender (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoPartialRender.t), default: nil) - Partial render snapshots (if requested by a render extension)
  • pdf (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoPdf.t, default: nil) - Contains the PDF document (if generate_pdf was set to true in the RenderRequest)
  • referencedResourceContent (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoResource.t), default: nil) - Contents for all the urls fetched by the render server. This field is present only if generate_referenced_resource_content was set to true in the RenderRequest.
  • renderStats (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderStats.t, default: nil) - Time to render the url, total size of a document, number of referenced images, etc will be part of RenderStats.
  • sessionStorage (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoDOMStorageItem.t), default: nil) - Contents of the browser's session storage.
  • title (type: String.t, default: nil) - Contains the page title produced by webkit, in the UTF-8 encoding.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderResponse{
    chromiumTrace:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoChromiumTrace.t()
      | nil,
    cookie:
      [
        GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoCookie.t()
      ]
      | nil,
    document:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoDocument.t()
      | nil,
    exceptionDetail: String.t() | nil,
    exceptions: String.t() | nil,
    extensionResult:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderExtensionResult.t()
      | nil,
    finalClientUrl: String.t() | nil,
    image:
      [
        GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoImage.t()
      ]
      | nil,
    localStorage:
      [
        GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoDOMStorageItem.t()
      ]
      | nil,
    partialRender:
      [
        GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoPartialRender.t()
      ]
      | nil,
    pdf:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoPdf.t()
      | nil,
    referencedResourceContent:
      [
        GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoResource.t()
      ]
      | nil,
    renderStats:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderStats.t()
      | nil,
    sessionStorage:
      [
        GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoDOMStorageItem.t()
      ]
      | nil,
    title: String.t() | nil
  }

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.