Skip to content

Commit

Permalink
Add methods to Element type definition (#2688)
Browse files Browse the repository at this point in the history
* Add methods to Element type definition.

Signed-off-by: Mazen Issa <[email protected]>

* Bump version to 1.3.9

Signed-off-by: Mazen Issa <[email protected]>

---------

Signed-off-by: Mazen Issa <[email protected]>
  • Loading branch information
mzissa authored Feb 23, 2023
1 parent 5214468 commit 6179d46
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json.schemastore.org/package",
"name": "taiko",
"version": "1.3.8",
"version": "1.3.9",
"description": "Taiko is a Node.js library for automating Chromium based browsers",
"main": "bin/taiko.js",
"bin": {
Expand Down
4 changes: 4 additions & 0 deletions types/taiko/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ export interface Element {
create(objectIds: string[], runtimeHandler?: any): Element[];
isDisabled(): Promise<boolean>;
isDraggable(): Promise<boolean>;
getAttribute(value: string): Promise<string>;
isWritable(): Promise<boolean>;
isConnected(): Promise<boolean>;
isPassword(): Promise<boolean>;
}

export interface ElementWrapper {
Expand Down

0 comments on commit 6179d46

Please sign in to comment.