I would like to automate plotting over map by zoom in through test automation javascript framework using testcafe but i would like to plot randomly to create any shape by passing the x, y offsets in my code as below, is any other option available to plot over the maps?
{
await t.click("#app .mapboxgl-canvas");
await t.setTestSpeed(0.01);
await t.drag(createField.mapAction, 5, 10, { offsetX: 5, offsetY: 10 });
await t.setTestSpeed(0.01);
await t.click("#app .mapboxgl-canvas");
}```