Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(element): set variables to public in constructor (#3417)
Browse files Browse the repository at this point in the history
closes #3414
  • Loading branch information
cnishina authored Jul 26, 2016
1 parent 7266902 commit ee8ec91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export class ElementArrayFinder extends WebdriverWebElement {
getWebElements: Function;

constructor(
private browser_: Browser, getWebElements?: Function,
private locator_?: any,
public browser_: Browser, getWebElements?: Function,
public locator_?: any,
public actionResults_: webdriver.promise.Promise<any> = null) {
super();
this.getWebElements = getWebElements || null;
Expand Down Expand Up @@ -716,7 +716,7 @@ export class ElementFinder extends WebdriverWebElement {
errorFn: Function) => webdriver.promise.Promise<any> = null;

constructor(
private browser_: Browser, elementArrayFinder: ElementArrayFinder) {
public browser_: Browser, elementArrayFinder: ElementArrayFinder) {
super();
if (!elementArrayFinder) {
throw new Error('BUG: elementArrayFinder cannot be empty');
Expand Down

0 comments on commit ee8ec91

Please sign in to comment.