Browser

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Basic Browser Controls:)
Line 41: Line 41:
  
 
===Basic Browser Controls:===
 
===Basic Browser Controls:===
 +
 +
====navigate====
 +
(url as String)
 +
 +
====cut====
 +
 +
====stopNavigation====
 +
 +
====undo====
 +
 +
====paste====
 +
 +
====delete====
 +
 +
====forward====
 +
 +
====refresh====
 +
 +
====zoom====
 +
not currently functional
 +
 +
====copy====
 +
 +
====selectAll====
 +
 +
====back====
 +
 +
====unfocus====
 +
 +
tells the browser it’s been unfocused
 +
 +
====focus====
 +
 +
tells the browser it’s been focused
  
 
===Low Level Access Functions For Existing UBot Commands:===
 
===Low Level Access Functions For Existing UBot Commands:===

Revision as of 16:31, 10 January 2016

This fixture allows for interaction with the main browser.


Contents

Properties

IsDomReady

Returns a boolean determining whether the dom is ready to be modified.

url

userAgent

visible

allowCss

allowImages

allowJavascript

allowPlugins

width

This will tell you the current browser width

height

This will tell you the current browser height

downloadedFile

The temporary file path of a file after being downloaded via a file download dialog

proxy

referrer

Events

cursorChanged

domBecameReady

finishedLoading

viewScrolled

urlUpdated

beganLoading

Functions

Basic Browser Controls:

navigate

(url as String)

cut

stopNavigation

undo

paste

delete

forward

refresh

zoom

not currently functional

copy

selectAll

back

unfocus

tells the browser it’s been unfocused

focus

tells the browser it’s been focused

Low Level Access Functions For Existing UBot Commands:

getChosenImage

gets the chosen element image as a BitMap

clearCookies

typeText (text As String, keyEvent As String)

keyEvent can be:

  • Standard
  • Key Down
  • Key Up
  • Key Press
  • Flash Plugin

allowPopups

  • Yes
  • In New Window
  • No

closePage

resetHeaders

setProxyCredentials

  • (username As String, password As String)

setReferrer

  • (value As String)

setVisible

  • (value As Boolean)

setWebsiteCredentials

  • (username As String, password As String)

loadHtml

  • (html As String)

runJavascript

  • (javascript As String)

setAllowCss

  • (value As Boolean)

setAllowImages

  • (value As Boolean)

eval

  • (javascript As String)

returns a string if the eval return an object, this will return a JSON string representing the object

setAllowJavascript

  • (value As Boolean)

setAllowPopups

  • (value As Boolean)

setHeader

  • (name As String, value As String)

getDownloadedFile

getFullBrowserImage

gets the current browser image as a BitMap

changeUserAgent

  • (userAgent As String)


Basic Browser Controls:

Low level Helper Functions:

Process Control:

Input Controls:

Wait Functions:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox