Skip to content

Commit

Permalink
feat: update readme and workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj319 committed Oct 28, 2024
1 parent 27ef006 commit fddac17
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml → .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run-tests
name: Tests
on:
push:
branches:
Expand All @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
go: ['1.23.2']
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
# Locatr
[![Go Reference](https://pkg.go.dev/badge/github.com/vertexcover-io/locatr.svg)](https://pkg.go.dev/github.com/vertexcover-io/locatr)
![Test](https://github.com/vertexcover-io/locatr/actions/workflows/main.yaml/badge.svg)

LLM based html element locator using natural language.
Locatr pacakge is an HTML element locator library for playwright-go. It supports natural language inputs to generate JavaScript locators, making it easier to locate HTML elements based on simple descriptions. Future updates may include support for additional plugins like selinium.

Example:

(input) `Search bar` -> (output) `input#search`

### Install Locatr with

```
go get github.com/vertexcover-io/locatr
```

## Table of Contents

Expand All @@ -22,7 +33,6 @@ LLM based html element locator using natural language.
- Default is `false`. Set to `true` to use the cache.



### Quick Example

Here's a quick example on how to use the project:
Expand Down

0 comments on commit fddac17

Please sign in to comment.