This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { textSummary } from "https://jslib.k6.io/k6-summary/0.0.1/index.js"; | |
import { htmlReport } from "https://raw.githubusercontent.com/benc-uk/k6-reporter/main/dist/bundle.js"; | |
import http from 'k6/http'; | |
import { sleep } from 'k6'; | |
export const options = { | |
stages: [ | |
{ duration: '5s', target: 10 }, | |
{ duration: '10s', target: 100 }, | |
{ duration: '10s', target: 500 }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var successCounter = 0; | |
var notSuccessCounter = 0; | |
var intervalInSeconds = 10 | |
// START PROCESS | |
var myTimer = window.setInterval(function () { | |
var dateTime = new Date(); | |
var btn = document.querySelectorAll("button[aria-label='Resgatar Bônus']")[0]; | |
if (btn) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet publish -r win-x64 -p:PublishSingleFile=true --self-contained true -o "outup_path" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Consumer | |
{ | |
private readonly IService _aService; | |
public Consumer(ServiceResolver serviceAccessor) | |
{ | |
_aService = serviceAccessor("A"); | |
} | |
public void UseServiceA() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var timeSeconds = 0; | |
var timestampList = document.querySelectorAll("div#content div#container ytd-thumbnail#thumbnail a#thumbnail div#overlays.style-scope.ytd-thumbnail.style-scope ytd-thumbnail-overlay-time-status-renderer span"); | |
for(var i = 0; i < timestampList.length; i++) { | |
var timestampDiv = timestampList[i]; |