GetBrowserProperty: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool getBrowserProperty ( string key ) | bool getBrowserProperty ( browser theBrowser, string key ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{OOP||[[Element/Browser|browser]]:getProperty|| | {{OOP||[[Element/Browser|browser]]:getProperty||setBrowserProperty}} | ||
===Required arguments=== | ===Required arguments=== | ||
*'''theBrowser:''' browser element to get the property value of | |||
*'''key:''' The browser property key. It can be: | *'''key:''' The browser property key. It can be: | ||
**'''mobile:''' Surfing the web as mobile | **'''mobile:''' Surfing the web as mobile |
Revision as of 23:45, 13 September 2015
Script Example Missing Function GetBrowserProperty needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function gets a given property of a specified browser.
Syntax
bool getBrowserProperty ( browser theBrowser, string key )
OOP Syntax Help! I don't understand this!
- Method: browser:getProperty(...)
- Counterpart: setBrowserProperty
Required arguments
- theBrowser: browser element to get the property value of
- key: The browser property key. It can be:
- mobile: Surfing the web as mobile
Returns
Returns the value if the property was successfully found, false otherwise.
Example
Todo
See also
- canBrowserNavigateBack
- canBrowserNavigateForward
- createBrowser
- executeBrowserJavascript
- focusBrowser
- getBrowserProperty
- getBrowserSettings
- getBrowserSource
- getBrowserTitle
- getBrowserURL
- injectBrowserMouseDown
- injectBrowserMouseMove
- injectBrowserMouseUp
- injectBrowserMouseWheel
- isBrowserDomainBlocked
- isBrowserFocused
- isBrowserLoading
- isBrowserRenderingPaused
- loadBrowserURL
- navigateBrowserBack
- navigateBrowserForward
- reloadBrowserPage
- requestBrowserDomains
- resizeBrowser
- setBrowserAjaxHandler
- setBrowserProperty
- setBrowserRenderingPaused
- setBrowserVolume
- toggleBrowserDevTools