Skip to content

Commit 59e10bf

Browse files
Minor
1 parent ba71a0a commit 59e10bf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Preview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ layout: default
88
# Overview
99
Preview presents custom HTML reports or forms. It allows Selenese scripts to interact with the user. It can collect confirmation, selection or data entry. When the user operates Preview, it can trigger Selenese commands. That subsequent processing executes like classic Selenese run. The user can pause, stop or debug it.
1010

11-
The presentation is customizable through HTML or XML. HTML (and XML, too - if you vote for [ThirdPartyIssues](ThirdPartyIssues) > [Enable use with XHTML](https://github.com/pure/pure/pull/20), please) can use client-side templates, such as [PURE](https://github.com/pure/pure). Together with [SelBlocksGlobal](SelBlocksGlobal) > [Out-of-flow Selenese callbacks](SelBlocksGlobal#out-of-flow-selenese-callbacks) Preview enables a bidirectional channel between [Selenium IDE](SeleniumIDE) and the presentation window. The report or form can subsequently call custom Selenese functions (i.e. blocks of Selenese commands). That allows user scripts to run interactively.
11+
The presentation in HTML or XML is customizable through client-side templates, such as [PURE](https://github.com/pure/pure). Together with [SelBlocksGlobal](SelBlocksGlobal) > [Out-of-flow Selenese callbacks](SelBlocksGlobal#out-of-flow-selenese-callbacks) Preview enables a bidirectional channel between [Selenium IDE](SeleniumIDE) and the presentation window. The report or form can subsequently call custom Selenese functions (i.e. blocks of Selenese commands). That allows user scripts to run interactively.
1212

1313
# Bookmarking and exporting
1414
The content renders in a standard Firefox window. The user can bookmark it, or pass the URL to it. It uses [data: URIs](https://developer.mozilla.org/en-US/docs/Web/HTTP/data_URIs), hence it works without a need to pass any files. (`data:` URI can also contain images, stylesheets and Javascripts). This works for XML, too.

SelBlocksGlobal.md

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ These commands wait for a given `Promise` object to resolve. If it gets rejected
9999
* `storePromiseValue` is similar to `storeEval`, but it stores the resolved (fulfilled) value of the promise (rather than the promise itself).
100100
* `ifPromise...elseIfPromise...elsePromise...endPromise` is similar to `if...elseIf...else...endIf`. `whilePromise...endWhilePromise` is similar to `while...endWhile`. However, these commands wait for given `Promise` object to resolve (fulfill). If the promise resolves to non-strict false (i.e. any of `false, null, 0, ` empty string `""` or `undefined`), then it runs appropriate `elseIfPromise` or `endPromise` branch, or the loop ends. If the promise gets rejected or it times out, the command throws an error.
101101

102+
You may want to increase `selenium.defaultTimeout` programatically (through `getEval`). Such a change applies only to the current run. <!--TODO current case, suite or all favorites? TEST -->
103+
102104
## Iterator and iterable-based loops
103105
`forIterator...endForIterator` and `forIterable...endForIterable` iterate the given iterator or iterable object. See [MDN > Iteration protocols](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
104106

0 commit comments

Comments
 (0)