Running list of functionality and features that make up a useful set of tools within an IDE or Editor.
- RTL support
- show formatting marks (similar to what one sees in Word or LibreOffice)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| +---- START KW: Selenium2Library.Click Link [ Target opens in new window ] | |
| Clicking link 'Target opens in new window'. | |
| GET http://127.0.0.1:34105/hub/session/299ebe07-637d-4658-bc3e-45fb0a848a42/url {"sessionId": "299ebe07-637d-4658-bc3e-45fb0a848a42"} | |
| POST http://127.0.0.1:34105/hub/session/299ebe07-637d-4658-bc3e-45fb0a848a42/elements {"using": "xpath", "sessionId": "299ebe07-637d-4658-bc3e-45fb0a848a42", "value": "//a[(@id='Target opens in new window' or @name='Target opens in new window' or @href='Target opens in new window' or normalize-space(descendant-or-self::text())='Target opens in new window' or @href='http://localhost:7000/html/Target opens in new window')]"} | |
| POST http://127.0.0.1:34105/hub/session/299ebe07-637d-4658-bc3e-45fb0a848a42/element/{1379730d-de5b-40d5-b15e-753806d45aed}/click {"sessionId": "299ebe07-637d-4658-bc3e-45fb0a848a42", "id": "{1379730d-de5b-40d5-b15e-753806d45aed}"} | |
| +---- END KW: Selenium2Library.Cl |
| import unittest | |
| from selenium import webdriver | |
| class SwitchToWindow(unittest.TestCase): | |
| def setUp(self): | |
| self.driver = webdriver.Firefox() | |
| def test_switch_to_window(self): | |
| driver = self.driver |
| import types | |
| from robot.libraries.BuiltIn import BuiltIn | |
| class SampleLibrary(object): | |
| _s2l = BuiltIn().get_library_instance('Selenium2Library') | |
| def __init__(self): | |
| # override Selenium2Library's _find_by_default method | |
| import pdb,sys; pdb.Pdb(stdout=sys.__stdout__).set_trace() | |
| # self._s2l._element_finder._find_by_default = types.MethodType(self._override_function, self._s2l._element_finder) |
| var callback = function () {console.log('*')}; | |
| var el = document.querySelector('[ng-app]'); | |
| var h = setInterval(function w4ng() { | |
| console.log('.'); | |
| try { | |
| if (window.angular && !(window.angular.version && | |
| window.angular.version.major > 1)) { | |
| /* ng1 */ | |
| angular.element(el).injector().get('$browser'). | |
| notifyWhenNoOutstandingRequests(callback); |
| *** Settings *** | |
| Library String | |
| Library Collections | |
| Library OperatingSystem | |
| Library SeleniumLibrary | |
| Library AngularJSLibrary | |
| *** Test Cases *** | |
| Simple Log |
| <html> | |
| <head></head> | |
| <body> | |
| <form> | |
| <input id="editbox" type="text" /> | |
| </form> | |
| </body> | |
| </html> |
Launch .robot files [Ed: Does this mean executing robot scripts or loading/"opening" files in an editor?] Code completion for keywords, section headers and section settings Go to definition for keywords (new in 0.0.9) Syntax highlighting [Ed: list of syntax?][Ed: is this done by the lsp or the grammer and ide?] Syntax validation [Ed: is this done by the lsp or the grammer and ide?] Code Formatting [? definition]
Other ideas
| for /F "tokens=2" %%v in ('chromedriver --version') do ( | |
| set Version=%%v | |
| for /F "tokens=1,2,3,4 delims=." %%a in ("%Version%") do ( | |
| set Major=%%a | |
| set Minor=%%b | |
| set Revision=%%c | |
| set Tail=%%d | |
| ) | |
| ) |
| import logging | |
| import sys | |
| root = logging.getLogger() | |
| root.setLevel(logging.DEBUG) | |
| handler = logging.StreamHandler(sys.stdout) | |
| handler.setLevel(logging.DEBUG) | |
| formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') | |
| handler.setFormatter(formatter) |