'preBlur event is not captured in Selenium
In the following code, preBlur event is not getting fired in Selenium Webdriver.
var monikerOldValue = '';
this.editor.on( 'open', function ( e, type ) {
monikerOldValue = self.editor.get().moniker;
}).on( 'preBlur', function ( e ) {
self.isDirty = self.editor.get().moniker !== monikerOldValue;
});
I am using jQuery editor for inline editing.
Using selenium chrome WebDriver to run automation test case.
Any fix for that?
Solution 1:[1]
I solved it temporarily by using blur event.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Moksh |
