Class: ElementNotVisibleError
mugshot.ElementNotVisibleError
Thrown when the given selector matches an element that is not visible.
#
HierarchyError
↳ ElementNotVisibleError
#
Constructors#
constructor+ new ElementNotVisibleError(selector
: string): ElementNotVisibleError
#
Parameters:Name | Type |
---|---|
selector | string |
Returns: ElementNotVisibleError
Overrides: Error.constructor
Defined in: packages/mugshot/src/interfaces/webdriver.ts:69
#
Properties#
message• message: string
Inherited from: Error.message
Defined in: node_modules/typescript/lib/lib.es5.d.ts:974
#
name• name: string
Inherited from: Error.name
Defined in: node_modules/typescript/lib/lib.es5.d.ts:973
#
stack• Optional
stack: string
Inherited from: Error.stack
Defined in: node_modules/typescript/lib/lib.es5.d.ts:975
#
prepareStackTrace▪ Static
Optional
prepareStackTrace: (err
: Error, stackTraces
: CallSite[]) => any
Optional override for formatting stack traces
see
https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
#
Type declaration:▸ (err
: Error, stackTraces
: CallSite[]): any
#
Parameters:Name | Type |
---|---|
err | Error |
stackTraces | CallSite[] |
Returns: any
Defined in: node_modules/@types/node/globals.d.ts:140
Inherited from: Error.prepareStackTrace
Defined in: node_modules/@types/node/globals.d.ts:140
#
stackTraceLimit▪ Static
stackTraceLimit: number
Inherited from: Error.stackTraceLimit
Defined in: node_modules/@types/node/globals.d.ts:142
#
Methods#
captureStackTrace▸ Static
captureStackTrace(targetObject
: Object, constructorOpt?
: Function): void
Create .stack property on a target object
#
Parameters:Name | Type |
---|---|
targetObject | Object |
constructorOpt? | Function |
Returns: void
Inherited from: Error.captureStackTrace
Defined in: node_modules/@types/node/globals.d.ts:133