Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

I'm using browser.scripting.executeScript() and i need to send a message to webext background script/service worker script. Usually it means using browser.runtime.sendMessage(), but browser is ...
4ntoine's user avatar
  • 20.6k
0 votes
1 answer
257 views

I have the following Javascript script: async function getIPAddress() { var thisFuncName = arguments.callee.toString().match(/function ([^\(]+)/)[1]; var retValue = { 'Result': true, ...
ShamilS's user avatar
  • 1,654
0 votes
0 answers
43 views

I have a popup.js file that has a button say Button_p. On clicking Button_p, I inject a script inject.js to a website using // snap from popup.js Button_p.addEventListener('click', () => { func();...
Debanjan Dutta's user avatar
2 votes
0 answers
129 views

I'm trying to create a Dev Tools panel to inspect the origin private file system, as it's apparently missing from the Storage panel in the latest version (115) of Firefox LTS. However, when using ...
JamesTheAwesomeDude's user avatar
0 votes
0 answers
236 views

I am writing an extension to create a new tab then run some script. However, the error message "Error: Cannot access "about:blank" at origin "null". Extension must have ...
Jono's user avatar
  • 13
0 votes
0 answers
88 views

Question Is there a way to get around timing issues when injecting a content script via chrome.scripting.executeScript() and sending the tab a message? Issue In this code, I am injecting a content ...
John Gordon's user avatar
  • 2,201
0 votes
1 answer
28 views

While running Selenium tests on my customizations to a CMS generated donation form I was getting inexplicable errors. I need to get the configuration options for the form from my page. So I did this: ...
Paul Joiner's user avatar
1 vote
1 answer
87 views

When running a scraping tool I am in the process of writing I need to interact with the user but prefer not via the console as that means switching between the console and the browser. Problem is I ...
user avatar
0 votes
0 answers
62 views

I have a following input in Nifi Jolt Specification processor, that i got from an API : { "BAG": { "Ett": "WWWLOG", "refD": "DVJOB1415738", ...
Osp Kombo's user avatar
0 votes
1 answer
103 views

I've been using SIDE to automate some processes at work. I'm collecting some dates from the page using the store command and trying to use the execute script command to calculate a duration and then ...
Nathan Lane's user avatar
0 votes
1 answer
210 views

I'm trying to use Selenium IDE to type and submit a handful of strings on a website. Each string is a list of three names that must be separated with each name on its own line. I'm using an execute ...
booyouwhore's user avatar
0 votes
0 answers
320 views

I have a chrome extension in which I'm using the chrome.runtime.onInstalled event to reinject my scripts when an update happens. chrome.runtime.onInstalled.addListener((details) => { ...
Jesse Sliter's user avatar
0 votes
1 answer
62 views

I am writing code in Apache nifi's execute script processor in javascript. NOTE: NO in-built function or method of javascript like isEmpty(), Object.Entries, or etc doesn't works in nifi's processor. ...
dracile's user avatar
  • 79
0 votes
0 answers
141 views

I have created this Python script to compare the data types of a CSV coming from the InputStream with an array of data types, but I don't understand why I'm getting an error in line number 7 in NiFi. ...
Dario Lurido's user avatar
0 votes
1 answer
437 views

I'm new to apache nifi and I am having trouble with writing a script that can give the list of files within a ftp server using the ExecuteScript on apache Nifi. I have the following script that I'm ...
Athenkosi Lengs's user avatar
0 votes
1 answer
1k views

This is the script I have written to replace value of All in jsonData with response. But I am getting error on line 22 mentioned below of unexpected character'(' on line 22. I'm unable to figure out ...
dash's user avatar
  • 35
-1 votes
2 answers
112 views

I am trying to replace API Data with "All" in Emp_Id field in data in json. And then make rows with every data of API. I tried in ecmascript but I need in Java as this map function is giving ...
dash's user avatar
  • 35
0 votes
1 answer
123 views

I am trying to replace API Data with "All" in Emp_Id field in data in json. And then make rows with every data of API. API DATA: I have stored this data in "Response" attribute in ...
dash's user avatar
  • 35
0 votes
1 answer
71 views

I am trying to store an API response in attribute myAttr in extractText processor but when I am trying to print the value of myAttr in ExecuteScript it is giving [object Object] in output and not ...
Destiel's user avatar
  • 35
0 votes
1 answer
1k views

The flowfile uses evaluateJsonPath in order to extract values and setup my Attributes. I need to pass some of the attributes into a JavaScript function which I have in a ExecuteScript processor. The ...
edjm's user avatar
  • 5,682
0 votes
1 answer
734 views

I'm trying to write a selenium script with python that downloads my bills from a website. There are more bills (rows) that can fit in the view port, and when the script reaches the end of the view ...
Zsolt's user avatar
  • 29
0 votes
1 answer
385 views

For scrolling through a section, I wrote below code: JavaScriptExecutor js= (JavaScriptExecutor) driver; js.executeScript (scroll code); but here executeSctipt method is autosuggested like: js....
Sherin 's user avatar
0 votes
0 answers
80 views

I am currently making a chrome extension that needs to validate whether a user has paid for the service. My background script confirms with the ExtensionPay API (thanks to Glen Chiacchieri) and then ...
SamuelC00's user avatar
-1 votes
1 answer
664 views

When I run the following: self.driver.execute_script("document.getElementByXpath('//input[@id='someid']').value='someValue'; It gives an error selenium.common.exceptions.JavascriptException: ...
Дарья Ковнир's user avatar
1 vote
1 answer
496 views

How to use ExecuteScript to get the complete page source - something like browser does with view-source: https//..any..web..page If I call ExecuteScript wbBrowser.ExecuteScript('document....
L. Pospisil's user avatar
0 votes
0 answers
546 views

I'm fairly new to either Stack Overflow and Apache NiFi, but I can't find any solution to my problem. My incoming Flowfile has an integer value N in an attribute, let's call it myAttribute. What I'm ...
Andrea Bozzano's user avatar
0 votes
1 answer
50 views

I am new to Python and started off with sqlite. I have two csv transaction.csv and users.csv from where I am reading the data and writing to the sqlite database.Below is the snippet import csv import ...
Prady's user avatar
  • 9
0 votes
2 answers
639 views

I am trying to find cases using Xpath/Selenium where there is no white-space before the hyperlink. e.g. <p>Click on this<a href="#">link</a>to access the data</p>` ...
sarbjit's user avatar
  • 3,965
0 votes
2 answers
173 views

I am trying to fill in a registration form and click submit. But Selenium says the Registration button is not actionable. I have tried using actionchains and a couple of other techniques but ...
Matt Coblentz's user avatar
0 votes
1 answer
1k views

I am trying to run below code in Microsoft Edge through WebDriver ExpectedCondition<Boolean> jsLoad = driver -> ((JavascriptExecutor) driver).executeScript("return document.readyState&...
kedar's user avatar
  • 11
0 votes
0 answers
40 views

i want to make him press enter after typing the text ChromeDrv.ExecuteScript("document.getElementsByClassName('_6LbR9')[0].innerText=arguments[0]", Msg)
Dev S's user avatar
  • 1
0 votes
1 answer
133 views

I have this code where I use execute_script to modify the of an element, I need to set it to a float number, I used this code: WebDriverWait(driver, timeout).until(EC.element_to_be_clickable((By.ID, '...
Javier Jerez's user avatar
0 votes
1 answer
356 views

so I'm fairly new to python but I start to understand how things work together, however for this problem I didn't find any solution. So my problem is I'm making a simple bot with python that can open ...
pycodak's user avatar
4 votes
2 answers
3k views

for some reason my executeScript function is not working. This is my code: async function scrape_get_url(){ console.log("Getting url: " + from_url); var tab_id; chrome.tabs....
JorensM's user avatar
  • 510
0 votes
0 answers
63 views

So I am using Selenium in python with execute_script to detect certain html changes in a website using MutationObserver, the mutation observer is continuosly detecting the changes I need, however I do ...
RafaelLeo's user avatar
0 votes
0 answers
258 views

I'm trying to execute a simple java script command at selenium using python for scroll a part of a web page. Here's the code: command_js = 'document.querySelector(' + "'" + 'css_div_example[...
Iuri Wissmann's user avatar
1 vote
2 answers
14k views

Please see below this html code for understand: <input type="submit" name="send" class="button" value="Send" onclick="return ussd_send()"> <...
micheline's user avatar
1 vote
2 answers
165 views

When running the protractor script below let resultantArr = []; resultantArr = await browser.executeScript("var elements = document.querySelectorAll('ul[class=\'wbs-droplist-container\'][id*=\'...
Poovin's user avatar
  • 164
0 votes
3 answers
1k views

I recently discovered the chrome extension development and got stuck with the runtime.excuteScript method, the callback in 3rd argument systematically returns me an empty object ... For brevity, I ...
Karleen-Bx's user avatar
0 votes
1 answer
818 views

import org.openqa.selenium.*; import org.openqa.selenium.JavascriptExecutor.executeScript;
Gayathri's user avatar
0 votes
0 answers
493 views

I am trying to create a chrome extension to automate the login process. I am able to login the website using Process_login2 (fill in the username and password and click login button). However, when I ...
Eric's user avatar
  • 367
0 votes
1 answer
2k views

Running locally, this works exactly how I want it to (has one incoming flow file with many different codes in position 7-10 and outputs 1 file per unique code) For example if record 1-5 has 1234 in ...
andym's user avatar
  • 1
0 votes
1 answer
1k views

In our firefox extension from the background script, we are checking the currently loading tab and check whether the URL is our desired URL if it is our desired URL then we are executing a javascript ...
Janaravi's user avatar
  • 155
0 votes
1 answer
161 views

Hi I tried to send javascript that look like this : $("img[src|='']").attr('src', result.responseJSON.data); It's to change image with null value to new value. I'm using execute script so ...
Rikudo Pain's user avatar
0 votes
1 answer
345 views

I have an issue with small files and HDFS. Scenario: I am using NiFi to read messages from the Kafka topic, these are all really small. Requirement: to store these raw messages of data in HDFS(for ...
GMan's user avatar
  • 464
0 votes
0 answers
210 views

I am developting chrome-extension. I try to inject script-tag using chrome.tabs.executeScript, but it occurs some error in specific URLs. I use this page as reference, but there are many error-logs in ...
Pirikara's user avatar
  • 355
0 votes
1 answer
578 views

I have a code that will open a new window and switched to before and after which like in code. But I what to give the link from variable why because if I have multiple links to search. For eg:...
Priyanka Tester's user avatar
0 votes
1 answer
704 views

In my python script I use selenium function driver.execute_script() which won't execute all code in the script. Specifically, one code works but others not. This code works: driver.execute_script("""...
Li54nder's user avatar
0 votes
2 answers
1k views

I am trying to import modules into executescript processor in nifi. As suggested , I. am giving full path into the modules directory. example: Module Directory: /var/lib/nifi/Levenshtein --> which ...
devanshmbi's user avatar
1 vote
1 answer
2k views

I use Python to scrape a website with a filter pane that needs to be scrolled. I found a code that helps to scroll through the list of elements, that actually find a list and move through a loop. ...
Oleg Kazanskyi's user avatar