Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/main/java/com/qa/opencart/pages/CartPage.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.qa.opencart.pages;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is by locator?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

import org.openqa.selenium.By;

public class CartPage {

By cartLink = By.id("cart123");
public void cartMethod()
{
System.out.println("On cart page");

}
}