Driving a web browser for testing web pages using a document object model

  • US 10,489,286 B2
  • Filed: 03/13/2015
  • Issued: 11/26/2019
  • Est. Priority Date: 06/05/2007
  • Status: Active Grant
First Claim
Patent Images

1. A computing device, comprising:

  • a memory;

    web browser program code stored in the memory; and

    a processor configured to perform the web browser program code,wherein the web browser program code, when performed, provides a web browser operating on the computing device,wherein the web browser program code provides the web browser with Document Object Model (DOM) access capabilities,wherein the web browser program code, executable by the computing device, includes at least;

    computer program code for testing and analysis of a web page as rendered by the web browser;

    computer program code for accessing an attribute or property value of an element of a DOM of the web page, wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the DOM of the web page using a browser programming interface that enables the web browser program code to have access to the DOM, the browser programming interface is supported by an API underlying the web browser program code for providing a plurality of library function calls or methods that are accessible by the web browser program code, and wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the attribute or property value of the element of the DOM of the web page for purposes of the testing and analysis of the web page rendered in the web browser,wherein the web browser program code supports at least one command, provided to the web browser via the browser programming interface, to facilitate synchronized testing and analysis of asynchronous processes of the web page rendered by the web browser using the underlying API, andwherein the at least one command includes a DOM index value, a DOM property name and a DOM property value, and causes examination of a name and a value of a property found in the DOM of the web page at the DOM index value to determine whether the name and the value match the DOM property name and the DOM property value, respectively.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×