From ab98665343ad1dc9fa5f35a0a4e0ca6f604d434f Mon Sep 17 00:00:00 2001 From: Ed Manlove Date: Sat, 10 Aug 2019 20:16:10 -0400 Subject: [PATCH] Removed confusing Angular/JavaScript syntax The JavaScript code uses the dollar sign as syntax. Due to the usage of the same symbol in Robot Framework the keyword documentation, which contained some JavaScript syntax and dollar signs, there was some confusion. The JavaScript, in most instances, was not adding to the documentation and was thus removed. --- AngularJSLibrary/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AngularJSLibrary/__init__.py b/AngularJSLibrary/__init__.py index c9a955d..5b037dc 100644 --- a/AngularJSLibrary/__init__.py +++ b/AngularJSLibrary/__init__.py @@ -182,15 +182,15 @@ def __init__(self, For more information please refer to the following documentation: - $rootElement - [https://docs.angularjs.org/api/ng/service/$rootElement|AngularJS API documentation] + rootElement - [https://docs.angularjs.org/api/ng/service/$rootElement|AngularJS API documentation] ngApp - [https://docs.angularjs.org/api/ng/directive/ngApp|AngularJS API documentation] Not Yet Implemented - ``implicit_angular_wait`` is the implicit timeout that AngularJS library - waits for angular to finish rendering and waits for any outstanding $http calls. + waits for angular to finish rendering and waits for any outstanding http calls. ``ignore_implicit_angular_wait`` is a flag which when set to True the AngularJS Library will not wait - for Angular $timeouts nor $http calls to complete when finding elements by locator. As noted in the + for Angular timeouts nor http calls to complete when finding elements by locator. As noted in the Protractor documentation "this should be used only when necessary, such as when a page continuously polls an API using $timeout." The default value is False. Note, up through the current version, there is a discrepancy between the ``Set Ignore Implicit Angular Wait`` keyword argument and the equivalent import library argument. The ``Set Ignore Implicit Angular Wait`` keyword has a strict