Code Monkey home page Code Monkey logo

automa's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

automa's Issues

Am I doing something wrong?

First of all I want to say Thank you for adding this feature so fast!
But I'm having some trouble with it. If I put this in my custom loop data
[ { name: 'foo bar', age: 20 }, { name: 'bar foo', age: 21 }, ]

I receive this error:
"Unexpected token n in JSON at position 6"

What am I doing wrong?

I trigger a time on 8:50, but it runs at 8:00

Describe the bug
Hi, I triggered a specific time on 8:50, but it runs at 8:00, did this setting time only match hour for run?
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Unclear to new users that set "Active tab" must always be added to workflow

Describe the bug
Workflow wont work without setting active tab

To Reproduce
I created a workflow to happen on the current page im on with a simple "click" block.
The click block did produce an error in your build in logger frame but it just said "error"
I inspected the extensions background page and saw this error
image

Causing me to think hm, iguess i need to set the page as "Active page" first.

Expected behavior
The error in your framework should say a bit more than "error" (If possible)
But perhaps a warning or popup that the user forgot to set "active" tab would also work.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
MacOs
Chrome - Version 94.0.4606.81 (Official Build) (x86_64)

Go through a list of links

Hello,
I wanted you to add a custom block that allows the user to input a list of links, it's like the "New Tab" block but in bulk.

Trigger > New Tab > Click Element > Delay > (I want a block that I can input a list of links and it would loop the workflows normal and when it would reach this said block, it would open a link from the list and repeat the workflow).

A collection of the links might look something like this:

(https://github.com/1)
(https://github.com/2)
(https://github.com/3)
(https://github.com/4)
(https://github.com/5)
(https://github.com/6)
(https://github.com/7)
(https://github.com/8)
(https://github.com/9)
(https://github.com/10)

I saw the new loop block though I don't know if that allows me to do what I want. If this is already possible could you please explain to me how I would go about this? I plan to a list of over 10,000 links, so putting the 'New Tab' block is not an option.

Maybe you can implement this option to the 'New tab' block, so the user would input a list of links and every time the workflow would reach the 'New tab' block it would go down the list of links inputted. It would look something like this.

Trigger > New tab > Click element > Loop

The 'New tab' block, in this case, would have a list of links and every time the workflow is looped it would go through the list.
Thanks

What are the rules for custom javascript snippets?

What are the rules for custom javascript snippets? Hope to provide some more detailed examples.

Because I want to use javascript to download the image of the current page, but I don't know how to set the input.

How to create a workflow to close tabs that have a certain element in them?

Hello,

Fantastic idea on creating a chrome extension to automate workflows.

In absence of documentation can you help me/point me in the direction to execute the following:

for all tabs that are open in chrome:

  1. find all that match a URL pattern
  2. If the webpages contains a certain element then close it.

How to set the workflow to be automatically triggered at a specific time each day?

Is your feature request related to a problem? Please describe.
How to set the workflow to be automatically triggered at a specific time each day?

Describe the solution you'd like

image

I want to try to use the "interval" option to set. But the unit of time can only be "minute".

Describe alternatives you've considered

Perhaps this great extension can provide more flexible unit selection and time settings.

Additional context

None.

[Feature request] Keyboard shortcuts triggers

Hi there!

Automa is a lovely product—super smart!

I would love to see configurable hotkeys to trigger a workflow, instead of having to load the extension and clicking on a button to start the workflow.

Will be following your progression!

Trigger Inputs

Is your feature request related to a problem? Please describe.
I have certain workflows that can vary based on a single input that I would like to select on trigger time.

Describe the solution you'd like
With the trigger option, it would be nice to be able to select from a pre-determined list of inputs that I can trigger a workflow with.

Describe alternatives you've considered
:)

Additional context
I use this tool to automate the login flow for an app I work on. We have multiple test users that we use, and it would be great to be able to select the test user directly from the trigger time, instead of making a new workflow for each test user, with the same underlying flow.

Comments on workflow

It would be cool if you can add comment tap in the general section
so that we can write a summery or describe the function of the workflow

Webhoook support

Is your feature request related to a problem? Please describe.
support string template to convert data to json or url-encode for webhook param

Describe the solution you'd like
omit

Describe alternatives you've considered
omit

Additional context
WIP

This extension is not trusted by Enhanced Safe Browsing.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  • If you already have it, uninstall then re-install.
  • After reinstalling, the pop-up would appear.

Expected behavior
No prompts should appear when installing the extension

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2021-11-05 at 10 32 00 PM

Desktop (please complete the following information):

  • OS: Mac OS Monterey
  • Version 12.0.1

Additional context
N/A

is not supported xpath?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Keyboard shortcut does not work.

Describe the bug
Keyboard shortcuts do not work as expected. I recorded shortcuts like Ctrl-m, Ctrl-Alt-t, etc. None of them can fire, even on the page of automa.

Context: Windows, Chrome v95. (automa extension)

Missing clear text in Form

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Can automa support switch iframe and window?

Discussed in #38

Originally posted by moveurbody November 9, 2021
I try to locate a button element in an iframe, but I can't use the element selector to locate the button element.
In selenium, it provides switch iframe and detects window. I think if you can support these functions will be awesome.

Dark Mode please.

Thanks for building a great app. It would be cool to have a darker version of the extension.

Trigger context menu actions

To the best of my knowledge this is not possible yet for any chrome context menus. I would use this with roam research and readwise heavily.

How to select one item in selectbox?

Describe the bug
How to select one item in selectbox? I have tried many times, but it doesn't work.
Can you give some examples about select usage?

Typo fix

Hi again,

Saw a quick typo—this needs to be a "c" instead of an "s" here.

Thanks!

unable to execute js from javascript block

Describe the bug
Trying to execute button click through javascript code but unable to do so

To Reproduce
Pls find snap
image

Expected behavior
If I execute js snippet from the dev tools console tab then it is able to click on button but i m not able to get it done from javascript block.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
If we can get any guidance on how to execute custom javascript then that would help

无法定位元素

2021年11月06日,刚刚才Chrome Web store下载的。Chrome版本 95.0.4638.69
使用插件自带的定位功能,无法捕获当前页面的元素selector。

经过我测试发现,当我打开两个Chrome的时候,第二个Chrome往往不能成功。第一个Chrome可以。

A suite of workflows should start by click one time.

Is your feature request related to a problem? Please describe.
A suite of workflows should start by click one time.
At now, this chrome extension just support start a workflow by click start button, not support start many workflows at one time click.

Option for custom javascript execution

Is your feature request related to a problem? Please describe.
Not all websites have "proper" unique css names (Where even :nth-child would be problematic), and sometimes you would need to use javascript to for example "Loop trough all <p> on the page, and check the textContent for "Apple" and if its "Apple" then click the button besides it.

Custom javascript block could be used for much much more, and would be a nice addition for power users :D

Describe the solution you'd like
Add a block under "browser" or "Web interaction" to be able to add custom javascript that gets executed.

Repeat operation

When edit the workflow it is not easy to repeat same operation. like get data->next page -> get data-> next page ->...
one of those feature would make things easier:

  1. enable duplicate node.
  2. create loop processes function.
  3. change the exported json "drawflow" type from string to object, so we can easily edit it in json editors.

Auto-test potential

I see a great potential of auto-test in this project.
will that be possible 2 achieve some features like assertion or something 2 expose the execution status?
thanks.

Check SSL Certificate

Is your feature request related to a problem? Please describe.
Add the possibility to check if ssl certificate is present and still valid

Describe the solution you'd like
create a block to add to a workflow which checks the ssl certificate of current website

Describe alternatives you've considered
use the javascript block. However, checking for ssl with javascript seems to be quite difficult from what google tells me.

Additional context
I know this might not be possible / easy to archive. Maybe we can have the browser tell us about the ssl cert. But I admit, I haven't deep dived into the topic yet.

Triggering submit event

I am trying to test a very simple automation like searching in the Github search form. I can goto the URL, find the search selector but I can not perform the "ENTER" trigger.

The JSON exported:

{"dataColumns":{},"drawflow":"{\"drawflow\":{\"Home\":{\"data\":{\"fe3f5ac7-3e08-4050-9066-4c6545a87366\":{\"id\":\"fe3f5ac7-3e08-4050-9066-4c6545a87366\",\"name\":\"trigger\",\"data\":{\"type\":\"manual\"},\"class\":\"trigger\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"22281aa0-4567-498e-be76-49d89ccd75c6\",\"output\":\"input_1\"}]}},\"pos_x\":50,\"pos_y\":300},\"22281aa0-4567-498e-be76-49d89ccd75c6\":{\"id\":\"22281aa0-4567-498e-be76-49d89ccd75c6\",\"name\":\"new-tab\",\"data\":{\"url\":\"https://github.com\",\"active\":true},\"class\":\"new-tab\",\"html\":\"BlockNewTab\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"fe3f5ac7-3e08-4050-9066-4c6545a87366\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"a26dbd0f-02e0-4af6-84f0-b9487f0a1191\",\"output\":\"input_1\"}]}},\"pos_x\":301,\"pos_y\":267},\"a26dbd0f-02e0-4af6-84f0-b9487f0a1191\":{\"id\":\"a26dbd0f-02e0-4af6-84f0-b9487f0a1191\",\"name\":\"forms\",\"data\":{\"description\":\"\",\"selector\":\".header-search-input\",\"markEl\":false,\"multiple\":false,\"selected\":true,\"type\":\"text-field\",\"value\":\"automa\",\"delay\":\"100\",\"events\":[]},\"class\":\"forms\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"22281aa0-4567-498e-be76-49d89ccd75c6\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[{\"node\":\"070c7c86-cd12-464b-bf14-6f980559b6d0\",\"output\":\"input_1\"}]}},\"pos_x\":599,\"pos_y\":366},\"070c7c86-cd12-464b-bf14-6f980559b6d0\":{\"id\":\"070c7c86-cd12-464b-bf14-6f980559b6d0\",\"name\":\"trigger-event\",\"data\":{\"description\":\"\",\"selector\":\".header-search-input\",\"markEl\":false,\"multiple\":false,\"eventName\":\"keypress\",\"eventType\":\"keyboard-event\",\"eventParams\":{\"altKey\":false,\"ctrlKey\":false,\"metaKey\":false,\"shiftKey\":false,\"code\":\"13\",\"key\":\"\",\"repat\":false}},\"class\":\"trigger-event\",\"html\":\"BlockBasic\",\"typenode\":\"vue\",\"inputs\":{\"input_1\":{\"connections\":[{\"node\":\"a26dbd0f-02e0-4af6-84f0-b9487f0a1191\",\"input\":\"output_1\"}]}},\"outputs\":{\"output_1\":{\"connections\":[]}},\"pos_x\":862,\"pos_y\":415}}}}}","icon":"riGlobalLine","name":"Procurar Master of Puppets no GH","settings":{"onError":"stop-workflow","timeout":120000}}

Any trick about how to solve it?

can we create collection in workflow

Is your feature request related to a problem? Please describe.

  • I try to use for test my projects and I can't group workflow for each project.

Describe the solution you'd like
A clear and concise description of what you want to happen.

  • If we have collection for test each project. It would be good.
  • can we run workflow in collection like example. Register > Login > Test Add Some Data.
  • after run can we export test result in collection

Dynamic URL parameters broken

Describe the bug
The last update broke the text replacing for "New Tab" URL #11 , even with new syntax (ie. {{}} instead of []) applied.

To Reproduce

  1. Implement "New Tab" action
  2. Try the text replacement inside the URL

Expected behavior
The dataColumns strings should be replaced before the new tab is opened, but they aren't.

Desktop (please complete the following information):

  • OS: OSX 11.5.2
  • Automa: 0.4.1
  • Chrome: 95.0.4638.69

New Tab URL parameters from data columns

Is your feature request related to a problem? Please describe.
I'd like to incorporate text strings from the data column into the new-tab action.

Describe the solution you'd like
For example, https://google.com/search?q=[browser-automation-app], where [browser-automation-app] would be an entry from the data columns.

Describe alternatives you've considered
It seems the only option currently is to get an export along with the new-tab option, and then fabricate the URL myself.

Additional context
Nothing

Flow Marketplace

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
You could create a "store" with general purpose flows created and shared by users, you could search from a repository and list/categorize it on the main screen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Fullscreen not working on MAC

Fullscreen not working on MAC
Your extension is very good, but when I click the full-screen button, is not working. I using a MacBook OS Monterey.

How can I use the data by saved some element's attribute value

Is your feature request related to a problem? Please describe.
before I Form an value, I have saved some element's attribute as a Data Column, Then how can I use this saved attribute value for the next step?

Describe the solution you'd like
pls tell me if it supports

Firefox Version

First, this is an amazing extension, and good job for making it. I was wondering if a Firefox version was planned. I know it might be a little difficult because of Firefox's increased security with extensions, but it would be great if you could at least consider it.

Unable to join two blocks

Describe the bug
Initially when I had installed the extension I was able to join two blocks and i was able to execute the automation also. After sometime I tried to do condition coding and after that I am unable to join two blocks. I tried re-installing the extension but still no luck.

But If I export earlier created workflow then it is working. No luck new workflow creation part.

Screenshots
This is the snapshot where i tried to join two block. Image clearly shows i tried to connect two blocks (i took snapshot without release mouse click, hence it can be seen as joining)
image

As soon as i release the mouse click, line joining two block vanished. Snap for same is below
image

  • OS : Windows 10

New tab block doesn't save IP addresses

Describe the bug
New tab block doesn't correctly handle IP addresses as URLs, including not replacing previous value in workflow save, and exported workflow json file.

I also found in one exported workflow that when I entered 'http://192.168.x.xx:1234' that the saved value was 'http://192.168.x.xx:1234.com', but I haven't been able to replicate this behaviour.

To Reproduce
Steps to reproduce the behavior:

  1. Create new workflow with trigger and new tab block
  2. Set new tab URL to 'http://204.68.111.105/' (sourceforge.net IP address)
  3. Click save
  4. Click '...' menu and export workflow
  5. Review file and see newtab URL isn't set
  6. Return to workflow tab
  7. Click play button
  8. New tab opens, but onmibar contains Automa address, and 'Your file couldn't be accessed' error.
  9. Return to workflow tab
  10. Change new tab block URL to 'http://google.com'
  11. Click play button
  12. New tab loads correctly with google.com.
  13. Return to workflow tab
  14. Change new tab block URL to 'http://192.168.0.1' (or other IP address)
  15. Click save and export
  16. Click play
  17. See new tab load with previously entered URL (here it's google.com), and this is reflected in the exported json.

Expected behavior

  1. Save file and exported workflow should reflect entered URL, even if it's an IP address.
  2. If invalid data is entered that is not saved, UI should alert user that the save was unsuccessful.
  3. When the 'Please enter a URL' alert that is displayed disappears on mouse click or other action, but the input field still contains invalid data, another visual indication should persist (e.g. changing text box shading to red)

Desktop (please complete the following information):

  • Chrome Version 95.0.4638.69 (Official Build) (32-bit)
  • Edition Windows 10 Enterprise
  • Version 21H1
  • OS build 19043.1237
  • Experience Windows Feature Experience Pack 120.2212.3530.0

Additional context

  • I've verified that if I change the exported file and import it to a new workflow that the workflow runs as expected.
  • I also noticed that the blue 'unsaved changes' dot doesn't appear on the Save button when the changing the URL from a domain name to an IP address.
  • I also don't know if it's intentional, but URLs not prefixed by a protocol

uploadFiles or uploadImg

I have a question about the automatic test form, do you have any ideas about uploading files or pictures?

I tried javascript, but it didn't work.

Does this extension support to run at the target time like 8:30:00 every day?

Is your feature request related to a problem? Please describe.

  1. I want to know does this extension support to run at the target time, like 8:30:00 means it will run at 8:30:00 every day?
  2. And if I don't close Chrome Browser but lock my computer, will it run?

Describe the solution you'd like
I hope it supports to run at the target time.

Describe alternatives you've considered
As I know, we can get current system time and use an if to do this.
var currentHours= new Date().getHours();
var currentMin= new Date().getMinutes();
var currentSec= new Date().getSeconds();
if(currentHours=='8' && currentMin=='30' && currentSec=='00'){
// execute this task
}

Additional context
Add any other context or screenshots about the feature request here.

add list of links option in "new tab" block

please add multiple links posibility in "new tab" block (eventually a "paste" from csv feature)
in order to scrape data you need to add a list of links that the automation should loop through; the last block will be connected to the "new tab" block and in the list there should be a way to mark links that have been already opened in that session and after the opening of the last tab (last link) the automation would stop

Add tabs to group

I'm using your amazing app to open up a big set of tabs that I want to use as a workflow.

In Chrome at least, we have the option to add multiple tabs to a group. I would like the ability to add to group with Automa

The only alternative now is a lengthy set of rules to click on each tab and add to group over and over, which I think could be better suited to a single command in Automa.

Potentially, the command could be added, and could have mutliple parameters which would be the tabs open currently. So the user could choose which tabs and how many to be added to the grouping. Also, Chrome allows us to add a group name. Maybe another parameter could be to add the group name automatically too?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.