123456789_123456789_123456789_123456789_123456789_

Class: Selenium::WebDriver::WebExtension

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Inherits: Object
Defined in: rb/lib/selenium/webdriver/common/web_extension.rb

Overview

A browser extension installed via Driver#install_web_extension. Wraps the identifier the browser assigned; pass it to Driver#uninstall_web_extension.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(id) ⇒ WebExtension

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/web_extension.rb', line 37

def initialize(id)
  @id = id
end

Instance Attribute Details

#idString (readonly)

Returns:

  • (String)

    identifier assigned to the extension by the browser

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/web_extension.rb', line 31

attr_reader :id