If you have multiple browser threads then you can add a date column in database for each account. When some action is finished then you can add 30 minutes to the date now and add it to the database of that particular account. Then add a check condition in the beginning of the thread which checks if the current date is less or greater than the database date. If it is greater that means there is still time left and then close that thread without opening browser.
How can I remove an attribute from element ?
-
@Drunk said in How can I remove an attribute from element ?:
Hello, I want to remove an attribute from element, Like this image https://imgur.com/a/km3f9y6 , I want to remove " disabled ", I tried to do it in java script, But I couldn't do it, I used this code ( document.getElementsByClassName('red-button-disabled').removeAttribute("disabled");
But it didn't work and it gave me alot of errors like ( TypeError: document.getElementsByClassName(...).removeAttribute is not a function ), So please help me with that, Thanks.Use the "Execute Javascript On Element" action on the required element, with the code:
self.removeAttribute("disabled")